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

2019-04-25 Thread Peng Fan
> Subject: [PATCH v3 03/11] clk: Remove clock ID check in .get_rate() of > clk_fixed_* > > 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. >

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

2019-04-25 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 --- Changes in v3: None drivers/clk/clk_fixed_factor.c | 3 ---