commit | b970767197a9ce07c1cebb79eef2a7849a539c8c | [log] [tgz] |
---|---|---|
author | Vignesh R <vigneshr@ti.com> | Fri Jul 22 10:55:49 2016 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Sat Jul 30 00:15:00 2016 +0530 |
tree | 7b7ffcf8c0fc5da7561b16091bf6fc28ae575163 | |
parent | aa2913085f32ae2b75478e31535473ab324392ef [diff] |
spi: ti_qspi: Fix compiler warning when DEBUG macro is set 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@ti.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>