[U-Boot] [PATCH v5 03/18] clk: Remove clock ID check in .get_rate() of clk_fixed_*

2019-07-20 Thread sbabic
> This check requires the struct clk passed to .get_rate() to be always > cleared out as any clock with valid ID causes -EINVAL return value. > The return code of fixed clocks shall always be returned. > Signed-off-by: Lukasz Majewski > Reviewed-by: Peng Fan Applied to u-boot-imx, master,

[U-Boot] [PATCH v5 03/18] clk: Remove clock ID check in .get_rate() of clk_fixed_*

2019-06-24 Thread Lukasz Majewski
This check requires the struct clk passed to .get_rate() to be always cleared out as any clock with valid ID causes -EINVAL return value. The return code of fixed clocks shall always be returned. Signed-off-by: Lukasz Majewski Reviewed-by: Peng Fan --- Changes in v6: None Changes in v5: None