]> git.baikalelectronics.ru Git - kernel.git/commit
Input: rpckbd - fix a leak of the IRQ during init failure
authorAxel Lin <axel.lin@gmail.com>
Sun, 3 Apr 2011 04:20:24 +0000 (21:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 3 Apr 2011 04:47:53 +0000 (21:47 -0700)
commit79b5b0a4db997dbc3c42ee5b786374d43b50129f
treeb0c9782ac5f716496fbc9b4036fcb63d7d7efa95
parent26bab350a7d3edb26ef3ddeb87402572089b6f04
Input: rpckbd - fix a leak of the IRQ during init failure

In rpckbd_open prror path, free_irq() was using NULL rather than the
driver data as the data pointer so free_irq() wouldn't have matched.

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