summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2012-04-19 04:23:25 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-19 19:34:26 +0100
commit67b508715a61962f9b5b3ef3432e045a9cba4f1e (patch)
treef7627533b8bb86433bbd84e98145cf4d1ff2c7a6 /drivers/ide
parenta8a97db984bdc5e89d42e41891543d2daaf314cb (diff)
ARM: 7392/1: CLKDEV: Optimize clk_find()
clk_find must return as soon as it gets the correct clock. Currently it check all clocks until it found a lookup with both dev_id and con_id matching. If only one of them is passed, then we don't actually need to wait for both of them to match. We can quit as soon as the requested id (dev_id or con_id) matches. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions