[PATCH v2] CLKDEV: return from clk_find as soon as we get maching clk
u.kleine-koenig at pengutronix.de
Wed Mar 3 05:33:42 EST 2010
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.
> - 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>
Does this mean you understood Russell's hint?
Did you test the differences your patch results in for the generated
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel