: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled idle path
Kevin Hilman khil...@deeprootsystems.com writes:
[...]
We cannot do a get_sync() from ISR context, right?
Right, but we *should* be able to. ;)
I'm still trying to craft a good description of this
problem
-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com]
Sent: Friday, September 24, 2010 5:23 AM
To: Basak, Partha
Cc: linux-omap@vger.kernel.org; Varadarajan, Charulatha; Tero
Kristo; Cousson, Benoit
Subject: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out
-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com]
Sent: Tuesday, September 14, 2010 10:28 PM
To: Basak, Partha
Cc: linux-omap@vger.kernel.org; Varadarajan, Charulatha; Tero Kristo
Subject: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts
+: GPIO: move late PM out of
interrupts-disabled idle path
Basak, Partha p-bas...@ti.com writes:
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices like GPIO
: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled idle path
Basak, Partha p-bas...@ti.com writes:
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where
interrupts are
disabled to do runtime-PM-like management
; Varadarajan, Charulatha;
Tero Kristo
Subject: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled idle path
Basak, Partha p-bas...@ti.com writes:
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where
interrupts are
disabled
Kevin Hilman khil...@deeprootsystems.com writes:
[...]
We cannot do a get_sync() from ISR context, right?
Right, but we *should* be able to. ;)
I'm still trying to craft a good description of this problem so I can
argue better for it on linux-pm.
Until then...
A bit of a hack, but
+: GPIO: move late PM out of
interrupts-disabled idle path
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices like GPIO.
As a prerequiste to moving GPIO to the new runtime
Kristo
Subject: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled idle path
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices like GPIO.
As a prerequiste
, Charulatha; Basak, Partha; Tero Kristo
Subject: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled idle path
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices
-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com]
Sent: Tuesday, September 14, 2010 10:28 PM
To: Basak, Partha
Cc: linux-omap@vger.kernel.org; Varadarajan, Charulatha; Tero Kristo
Subject: Re: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts
-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com]
Sent: Tuesday, September 14, 2010 4:33 AM
To: linux-omap@vger.kernel.org
Cc: Varadarajan, Charulatha; Basak, Partha; Tero Kristo
Subject: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled
Varadarajan, Charulatha ch...@ti.com writes:
[...]
-void omap2_gpio_prepare_for_idle(int power_state)
+void omap2_gpio_prepare_for_idle(void)
{
-int i, c = 0;
-int min = 0;
+int i, c = 0, min = 0;
+int per_next_state;
+
+if (!per_pwrdm)
+return;
-Original Message-
From: Kevin Hilman [mailto:khil...@deeprootsystems.com]
Sent: Tuesday, September 14, 2010 4:33 AM
To: linux-omap@vger.kernel.org
Cc: Varadarajan, Charulatha; Basak, Partha; Tero Kristo
Subject: [PATCH 2/2] OMAP2+: GPIO: move late PM out of
interrupts-disabled
Basak, Partha p-bas...@ti.com writes:
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices like GPIO.
As a prerequiste to moving GPIO to the new runtime PM
From: Kevin Hilman khil...@ti.com
Currently, we wait until late in the idle path where interrupts are
disabled to do runtime-PM-like management for certain special-case
devices like GPIO.
As a prerequiste to moving GPIO to the new runtime PM framework, move
this runtime-PM-like code out of the
16 matches
Mail list logo