]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:16 +0000 (08:35 +0200)
commit036536d628af4d31ecfef998dbbd5008ea678bf5
treea97c1bc09e22c41fc67a45bb8863d1a7b0d051ae
parentccc348bd787c0a234250401fb121e83c5b5071eb
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