Skip to content
Commit e4bf5bec authored by Viresh Kumar's avatar Viresh Kumar Committed by Russell King
Browse files

ARM: 5979/1: CLKDEV: return from clk_find as soon as we get maching clk



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.

Acked-by: default avatarUwe Kleine-Konig <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@st.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0deac0bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment