]> git.baikalelectronics.ru Git - kernel.git/commit
Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jul 2011 00:09:22 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Jul 2011 00:10:31 +0000 (17:10 -0700)
commit7ff71b0f4adede732adc9ef194c22be52b511cdb
tree73dbcfdfd47ef9765e42c37c1fee51cd7b278eb0
parent0293f16206226d47b226354c4b3c29afdabb7231
Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure

Make sure we are passing the same cookie in all calls to
request_any_context_irq() and free_irq().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/pmic8xxx-keypad.c