diff options
author | Lily Zhang <r58066@freescale.com> | 2011-01-26 21:47:49 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-01-27 10:33:07 -0600 |
commit | 82ba3d521f748be871333301c9be5625931fb69f (patch) | |
tree | 1059a1a8f86ebfac37e13601e9b10ef77e3010e0 | |
parent | dfe82b8fde09a2e8d45b3724124b546ce32540e0 (diff) |
ENGR00138540 mx51: set low bus flag after entering low bus mode
If enabling DVFS core and enter suspend state, FEC resume was
failed due to wrong clock. This is because enter_lpapm_mode_mx51
function doesn't set low_bus_freq_mode flag after commit 30f6fc381.
It causes the system is in wrong low bus mode.
Signed-off-by: Lily Zhang <r58066@freescale.com>
-rw-r--r-- | arch/arm/mach-mx5/bus_freq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/bus_freq.c b/arch/arm/mach-mx5/bus_freq.c index 5e3c5de2e476..d598a0663e68 100644 --- a/arch/arm/mach-mx5/bus_freq.c +++ b/arch/arm/mach-mx5/bus_freq.c @@ -306,6 +306,10 @@ void enter_lpapm_mode_mx51() udelay(10); clk_disable(emi_garb_clk); + low_bus_freq_mode = 1; + high_bus_freq_mode = 0; + med_bus_freq_mode = 0; + /* Set the source of Periph_APM_Clock to be lp-apm. */ clk_set_parent(periph_apm_clk, lp_apm); |