]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] omap: fix _omap2_clksel_get_src_field()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 14 Feb 2009 13:25:38 +0000 (13:25 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Feb 2009 13:25:38 +0000 (13:25 +0000)
commitac8fe6e5f37c0fd76133f4a036683edaa0057844
tree8a058b417ecde9d6ce9518844393d09092cbc431
parentf666ced75848f78d10da48eec41861fdbe9864d1
[ARM] omap: fix _omap2_clksel_get_src_field()

_omap2_clksel_get_src_field() was returning the first entry which was
either the default _or_ applicable to the SoC.  This is wrong - we
should be returning the first default which is applicable to the SoC.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock.c