diff options
author | Kevin Hilman <khilman@ti.com> | 2011-07-12 22:48:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-12 22:48:42 +0200 |
commit | c8c9fda5069456eb9e0e403c19764b2e257802e1 (patch) | |
tree | f129503b967e47025e6aca64ab5d617ab9765fba /arch/arm/mach-omap2/gpio.c | |
parent | OMAP: PM: omap_device: add API to disable idle on suspend (diff) | |
download | linux-c8c9fda5069456eb9e0e403c19764b2e257802e1.tar.xz linux-c8c9fda5069456eb9e0e403c19764b2e257802e1.zip |
OMAP: PM: disable idle on suspend for GPIO and UART
Until these drivers are runtime PM converted, their device power
states are managed by calling custom driver hooks late in the
idle/suspend path. Therefore, do not let the suspend/resume core code
automatically idle these devices since they will be managed manually
by the OMAP PM core very late in the idle/suspend path.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-omap2/gpio.c')
-rw-r--r-- | arch/arm/mach-omap2/gpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 9529842ae054..48e5eced6b51 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c @@ -87,6 +87,8 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused) return PTR_ERR(od); } + omap_device_disable_idle_on_suspend(od); + gpio_bank_count++; return 0; } |