On Sun, Oct 28, 2012 at 8:55 PM, Robert Jarzmik <robert.jarzmik@xxxxxxx> wrote: > Vasily Khoruzhick <anarsoul@xxxxxxxxx> writes: > >> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html