[ARM] 3461/1: ARM: OMAP: Fix clk_get() when using id and name
authorTony Lindgren <tony@atomide.com>
Sun, 9 Apr 2006 21:21:05 +0000 (22:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 9 Apr 2006 21:21:05 +0000 (22:21 +0100)
commit67d4d8352b5a78df422a956657d9be4b860680ab
tree0c94bd81ccb9a1e0313382efc81ffe159d192484
parent50e5629aa956c8c82015c90554a9a3fbf54cb404
[ARM] 3461/1: ARM: OMAP: Fix clk_get() when using id and name

Patch from Tony Lindgren

Recent change to use both id and name when available was
not necessarily returning the right clock as it also searched
for clock name afterwards. This caused MMC to break on H2 and
H3 boards.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-omap/clock.c