
19 Jan
2021
19 Jan
'21
1:12 p.m.
On 18/01/21 03:32PM, Adam Ford wrote:
On the i.MX8M Mini, ret = clk_set_rate() sets ret to the value of the rate the clock was able to set. When checking for errors, it only checks that it is not NULL. Since positive numbers are not errors, only check for negative numbers when handling errors.
Fixes: 383fded70c4f ("spi: nxp_fspi: new driver for the FlexSPI controller") Signed-off-by: Adam Ford aford173@gmail.com
Reviewed-by: Pratyush Yadav p.yadav@ti.com
--
Regards,
Pratyush Yadav
Texas Instruments India