]> git.baikalelectronics.ru Git - kernel.git/commit
Input: emu10k1 - do not leave device enabled when probe fails
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:50:17 +0000 (18:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2010 14:49:23 +0000 (07:49 -0700)
commit834150f857004a140a8fe9769715ea2ad8705130
tree3a07769d97225612892db92a8917b3460465b9f5
parent3b6ecafc9dd0ec4b528186edb72d59d7b33a79b0
Input: emu10k1 - do not leave device enabled when probe fails

Rework emu_probe() to make sure we leave the device disabled if probe
fails for any reason.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/emu10k1-gp.c