[U-Boot] [PATCH v2 2/3] spi: ti_qspi: Fix compiler warning when DEBUG macro is set

Jagan Teki jagannadh.teki at gmail.com
Sat Jul 23 18:07:18 CEST 2016


On 22 July 2016 at 15:39, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> On Friday 22 July 2016 10:55 AM, Vignesh R wrote:
>> clk_div is uninitialized at the beginning of ti_spi_set_speed(), move
>> debug() print after clk_div calculation to avoid compiler warning and to
>> have proper value of clk_div printed during debugging.
>>
>> Signed-off-by: Vignesh R <vigneshr at ti.com>
>
> Reviewed-by: Mugunthan V N <mugunthanvnm at ti.com>

Applied to u-boot-spi/master

thanks!
-- 
Jagan.


More information about the U-Boot mailing list