summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-24 22:50:23 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-24 22:50:55 -0800
commitdd219234d201431d0fc56a74e3a4a97ca3eb4589 (patch)
treefa35dc4e073a027c97e18bc8463037d63f1fc2a3 /drivers/memstick
parent98b7fb0472f828536a7786df6bd517322c0c17dc (diff)
Input: matrix-keypad - handle cases when GPIOs can't be wakeup sources
On certain boards not all GPIOs may be used as wakeup sources, in which case some of enable_irq_wake() calls will fail. On resume calling disable_irq_wake() will warn about unbalanced IRQ wake disable. Solve this by checking whether enable_irq_wake() succeeded or not and no not call disable_irq_wake() for these GPIOs/IRQs that have not been enabled. Reported-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions