diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-23 04:24:34 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-26 02:40:01 +0400 |
commit | a8cf27bee7adc40d91956cf1b9e44d7001f93aba (patch) | |
tree | ffd8ad9de0de9d32a60b6063764e81674828ea4e /include/linux/pm_qos.h | |
parent | 9ee27ffbe303ce18e7336115f1d443e9911eba53 (diff) | |
download | linux-a8cf27bee7adc40d91956cf1b9e44d7001f93aba.tar.xz |
PM / shmobile: Allow the A4R domain to be turned off at run time
After adding PM QoS constraints for the I2C controller in the A4R
domain, that domain can be allowed to be turned off and on by runtime
PM, so remove the "always on" governor from it.
However, the A4R domain has to be "on" when suspend_device_irqs() and
resume_device_irqs() are executed during system suspend and resume,
respectively, so that those functions don't crash while accessing the
INTCS. For this reason, add a PM notifier to the SH7372 PM code and
make it restore power to A4R before system suspend and remove power
from all unused PM domains after system resume.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'include/linux/pm_qos.h')
0 files changed, 0 insertions, 0 deletions