ARM: OMAP: Correct two bugs in arch/arm/mach-omap2/clock.c
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 26 Jun 2006 23:16:11 +0000 (16:16 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 26 Jun 2006 23:16:11 +0000 (16:16 -0700)
commit6e711ec6d249c0d3f8bc225066738d064ed90032
tree21e8c8e704eac0f2ccf4d00045aaa82546be4661
parented7eb9d90a24bbe93fa47e19b61528bd5cfe584c
ARM: OMAP: Correct two bugs in arch/arm/mach-omap2/clock.c

omap2_clk_set_rate: dif_off must use clk->rate_offset, not clk->src_off.
omap2_get_src_field: for the case CM_SYSCLKOUT_SEL1, val must be 2 for
96MHz and 3 for 54MHz.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c