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

2019-06-08 Thread Stefano Babic
On 17/05/19 00:10, Lukasz Majewski wrote: > 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 > > --- >

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

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

2019-05-16 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 v4: - None Changes in v3: None