]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00220370 [MX6]Fix BUS freq suspend/resume fail in low bus mode
authorAnson Huang <b20788@freescale.com>
Sat, 18 Aug 2012 17:12:59 +0000 (01:12 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:46 +0000 (14:12 +0200)
commit70d19e5ea1aab8ba3fd035fd7664b3c1a9a7a588
treea97c1bc09e22c41fc67a45bb8863d1a7b0d051ae
parentc86539370f72c2b7282bfde6d0a7934f65f86fa9
ENGR00220370 [MX6]Fix BUS freq suspend/resume fail in low bus mode

1. BUS freq's set low bus setpoint using delat work, which
didn't have mutex lock, so in some scenarios, set high bus
freq function can be called at the same time, we need to move
mutex lock into these two routine;

2. Using pm notify to make sure bus freq set to high setpoint
before supend and restore after resume.

3. Clear build warning.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/board-mx6q_sabresd.c
arch/arm/mach-mx6/bus_freq.c
arch/arm/mach-mx6/clock.c
arch/arm/plat-mxc/cpufreq.c
arch/arm/plat-mxc/dvfs_core.c