input: gpio_keys: fix suspend race condition
Change the suspend/resume code to ensure that the interrupt are disabled before changing the pin configuration. The current sequence has been reported to cause spurious readouts on some platforms, this takes the existing code and duplicates for the suspend and resume case, but swaps the interrupt disable and configure for the suspend case. Signed-off-by:Fabio Baltieri <fabiobaltieri@google.com> (cherry picked from commit d0a8c415)
Loading
Please sign in to comment