i.MX25: fix get_rate_otg to return the correct value
authorEric Bénard <eric@eukrea.com>
Tue, 8 Jun 2010 09:02:57 +0000 (11:02 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 26 Jul 2010 12:18:09 +0000 (14:18 +0200)
commita6e92b49ae5ef48e1791e5df8368af1fe8b3bd9a
treeb07023d846c725032cc3c1c2aa8e5b5b0c4f0cb9
parent648beaf5bd7072031bddd84bf7bb482ec459a603
i.MX25: fix get_rate_otg to return the correct value

usb drivers need to get the right value for otg clock so
calculate and return it

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx25/clock.c