Commit 91cf351a2afc17ac4a260e4d2ad1e32d00925a1b

Authored by Bai Ping
1 parent c8b88cd2ec

MLK-10439: arm: imx: fix system hang after resume back under low busfreq

System will be no response after resume back under low busfreq mode. The
root cause of this issue is that when the system is under ultra_low_bus_freq
mode on i.MX6SL, resume process has a low bus mode deamon in background,
cause system enter low bus mode twice, busfreq driver will notify thermal
driver to turn off PLL3 twice, and cause PLL3 usecount incorrect and UART
no message out.

Signed-off-by: Bai Ping <b51503@freescale.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-imx/busfreq-imx6.c
... ... @@ -786,7 +786,7 @@
786 786 static void bus_freq_daemon_handler(struct work_struct *work)
787 787 {
788 788 mutex_lock(&bus_freq_mutex);
789   - if ((!low_bus_freq_mode) && (high_bus_count == 0) &&
  789 + if ((!low_bus_freq_mode) && (!ultra_low_bus_freq_mode) && (high_bus_count == 0) &&
790 790 (med_bus_count == 0) && (audio_bus_count == 0))
791 791 set_low_bus_freq();
792 792 mutex_unlock(&bus_freq_mutex);