]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: omap_device: only override _noirq methods, not normal suspend/resume
authorKevin Hilman <khilman@ti.com>
Thu, 25 Aug 2011 13:31:14 +0000 (15:31 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 25 Aug 2011 13:31:14 +0000 (15:31 +0200)
commitb42ee2a9355e162a5c4602e3c5986f487b64f658
tree3da027e5a87fcc8e12e0a683b8cb82573a8a8eaf
parentaa5934617ec2913601060e4d7583d1ef7ba26579
OMAP: omap_device: only override _noirq methods, not normal suspend/resume

Commit 4cb79b9c3782a9c41dd14129b8e6b6d46f521c91 (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 <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/plat-omap/omap_device.c