[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)
commitabf239657b88fa7e75d5b44a65a4177e7bb8acce
tree8a058b417ecde9d6ce9518844393d09092cbc431
parent9132f1b453924e7595ce2dc1853704b2a31f42de
[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