From: Kevin Hilman <hidden> Date: 2011-08-24 23:43:56
While this fix could go via the OMAP tree, since the original patch
causing the problem went via Rafael's tree (due to dependencies) I'm
submitting the fix to go via Rafael's tree as well.
Applies on v3.1-rc3.
Kevin Hilman (1):
OMAP: omap_device: only override _noirq methods, not normal
suspend/resume
arch/arm/plat-omap/omap_device.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
--
1.7.6
From: Kevin Hilman <hidden> Date: 2011-08-24 23:43:57
commit c03f007a8bf0e092caeb6856a5c8a850df10b974 (OMAP: PM:
omap_device: add system PM methods for PM domain handling) mistakenly
used SET_SYSTEM_SLEEP_PM_OPS() when trying to configure custom methods
for the PM domains noirq methods. Fix that by setting only the
suspend_noirq and resume_noirq methods with custom versions.
Note that all other PM domain methods (including the "normal"
suspend/resume methods) are populated using USE_PLATFORM_PM_SLEEP_OPS,
which configures them all to the default subsystem (platform_bus)
methods.
Reported-by: Santosh Shilimkar <redacted>
Tested-by: Santosh Shilimkar <redacted>
Signed-off-by: Kevin Hilman <redacted>
---
arch/arm/plat-omap/omap_device.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
From: Rafael J. Wysocki <hidden> Date: 2011-08-25 14:12:42
On Thursday, August 25, 2011, Kevin Hilman wrote:
commit c03f007a8bf0e092caeb6856a5c8a850df10b974 (OMAP: PM:
omap_device: add system PM methods for PM domain handling) mistakenly
used SET_SYSTEM_SLEEP_PM_OPS() when trying to configure custom methods
for the PM domains noirq methods. Fix that by setting only the
suspend_noirq and resume_noirq methods with custom versions.
Note that all other PM domain methods (including the "normal"
suspend/resume methods) are populated using USE_PLATFORM_PM_SLEEP_OPS,
which configures them all to the default subsystem (platform_bus)
methods.
Reported-by: Santosh Shilimkar <redacted>
Tested-by: Santosh Shilimkar <redacted>
Signed-off-by: Kevin Hilman <redacted>
Applied to linux-pm/pm-fixes, will be pushed for 3.1, thanks!
Rafael