Re: [PATCH v2 1/2] ARM: omap4: gpio: fix setting IRQWAKEN bits

2 messages, 2 authors, 2011-06-07 · open the first message on its own page

Re: [PATCH v2 1/2] ARM: omap4: gpio: fix setting IRQWAKEN bits

From: Kevin Hilman <hidden>
Date: 2011-06-07 16:04:14

Grant Likely [off-list ref] writes:
On Mon, Jun 6, 2011 at 5:18 PM, Kevin Hilman [off-list ref] wrote:
quoted
Hi Colin,

Colin Cross [off-list ref] writes:
quoted
Setting the IRQWAKEN bit was overwriting previous IRQWAKEN bits,
causing only the last bit set to take effect, resulting in lost
wakeups when the GPIO controller is in idle.

Replace direct writes to IRQWAKEN with MOD_REG_BIT calls to
perform a read-modify-write on the register.

Signed-off-by: Colin Cross <redacted>
Thanks, I'll queue these both for Grant for the 3.0-rc fixes along with
another GPIO fix for a section mismatch I have queued.

Minor: now that this driver has moved to drivers, I changed the subject
prefixes slightly. ?They now read:

GPIO: OMAP: fix setting IRQWAKEN bits for OMAP4
GPIO: OMAP: add locking around calls to _set_gpio_triggering
If you're collecting fixes for Linus anyway, go ahead and add my a-b
line and include these two to send on to Linus

Acked-by: Grant Likely <redacted>

Or, if they are only gpio fixes, then I'd also be happy to get a git
pull req for the changes.  :-)
I have a GPIO-only queue, so I'll have a pull req for you today.

Kevin

Re: [PATCH v2 1/2] ARM: omap4: gpio: fix setting IRQWAKEN bits

From: Grant Likely <hidden>
Date: 2011-06-07 16:37:55

On Tue, Jun 7, 2011 at 10:04 AM, Kevin Hilman [off-list ref] wrote:
Grant Likely [off-list ref] writes:
quoted
On Mon, Jun 6, 2011 at 5:18 PM, Kevin Hilman [off-list ref] wrote:
quoted
Hi Colin,

Colin Cross [off-list ref] writes:
quoted
Setting the IRQWAKEN bit was overwriting previous IRQWAKEN bits,
causing only the last bit set to take effect, resulting in lost
wakeups when the GPIO controller is in idle.

Replace direct writes to IRQWAKEN with MOD_REG_BIT calls to
perform a read-modify-write on the register.

Signed-off-by: Colin Cross <redacted>
Thanks, I'll queue these both for Grant for the 3.0-rc fixes along with
another GPIO fix for a section mismatch I have queued.

Minor: now that this driver has moved to drivers, I changed the subject
prefixes slightly. ?They now read:

GPIO: OMAP: fix setting IRQWAKEN bits for OMAP4
GPIO: OMAP: add locking around calls to _set_gpio_triggering
If you're collecting fixes for Linus anyway, go ahead and add my a-b
line and include these two to send on to Linus

Acked-by: Grant Likely <redacted>

Or, if they are only gpio fixes, then I'd also be happy to get a git
pull req for the changes. ?:-)
I have a GPIO-only queue, so I'll have a pull req for you today.
thx.

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help