Thread (2 messages) 2 messages, 2 authors, 2012-10-28

Re: [PATCH RESEND] ARM: pxa27x_keypad: clear pending interrupts on keypad config

From: Vasily Khoruzhick <anarsoul@gmail.com>
Date: 2012-10-28 18:09:42
Also in: linux-arm-kernel

Possibly related (same subject, not in this thread)

On Sun, Oct 28, 2012 at 8:55 PM, Robert Jarzmik [off-list ref] wrote:
Vasily Khoruzhick [off-list ref] writes:
quoted
Bootloader can leave interrupt bit pending, and it confuses driver.
OK, looks good to me.
One question though, just to make sure everything is covered :
  Suppose that the resume is the consequence of keypad press. If anybody relied
  previously on "reading the keypad" to know which key was pressed to wakeup the
  SoC, is it still working after your patch ?
Hi Robert,

Code from git master will not call pxa27x_keypad_config on resume if
device can cause wakeup,
so everything is OK (however it's another issue for pxa27x, because
device is not resuming correctly)
And I suppose you can't "convince" your bootloader to behave correctly, can you ?
It behaves correctly, it just can't handle last keypress (because it's
booting Linux).
Even if it would be possible to fix this issue in bootloader it's
always nice to keep driver
failure-proof, so it does not fail even if bootloader left something
in non-consistent state.

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