]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxa: fix clock lookup to find specific device clocks
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 Feb 2008 10:35:15 +0000 (10:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Feb 2008 10:41:59 +0000 (10:41 +0000)
commita0dd005d1d9f4c3beab52086f3844ef9342d1e67
treedf87f09d8fc0a6cba0a2e341e8835767da1a714e
parent1309d4e68497184d2fd87e892ddf14076c2bda98
[ARM] pxa: fix clock lookup to find specific device clocks

Ensure that the clock lookup always finds an entry for a specific
device and ID before it falls back to finding just by ID.  This
fixes a problem reported by Holger Schurig where the BTUART was
assigned the wrong clock.

Tested-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/clock.c