[PATCH v2] CLKDEV: return from clk_find as soon as we get maching clk
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Mar 3 05:33:42 EST 2010
Hello,
On Wed, Mar 03, 2010 at 12:18:27PM +0530, Viresh KUMAR wrote:
> clk_find function looks for clock with matching dev_id and con_id.
> We should return from clk_find as soon as we get a clock with matching dev_id
> and con_id. This can be done by comparing variable "match" with 3.
>
> v2:
> - remove if (match == 0), check.
> - move match==3 in if (match > best) condition
can you take the changes since v1 out of the changelog. They usually go
...
>
> Signed-off-by: Viresh Kumar <viresh.kumar at st.com>
> ---
... here.
Does this mean you understood Russell's hint?
Did you test the differences your patch results in for the generated
code?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list