[ARM] omap: fix omap2_divisor_to_clksel() error return value
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 14 Feb 2009 13:24:10 +0000 (13:24 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Feb 2009 13:24:10 +0000 (13:24 +0000)
commit9132f1b453924e7595ce2dc1853704b2a31f42de
treee52893390e79bf661b92887ec5267df0488e754c
parentd2f8d7ee1a9b4650b4e43325b321801264f7c37a
[ARM] omap: fix omap2_divisor_to_clksel() error return value

The error checks for omap2_divisor_to_clksel() and comment disagree with
the actual value returned on error.  Fix this to return the correct error
value.

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