]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Input: fix open count handling in input interfaces
authorOliver Neukum <oliver@neukum.org>
Fri, 12 Oct 2007 18:18:40 +0000 (14:18 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Oct 2007 18:18:40 +0000 (14:18 -0400)
commit064450140f1eab959bd0eca0245f449993216074
treeae8c7e238224b74e90f860129b1236c3eeedc470
parent1ea3abf7fbc39b3b543d7438159ba07b6411561c
Input: fix open count handling in input interfaces

If input_open_device() fails we should not leave interfaces marked
as  opened.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/evdev.c
drivers/input/joydev.c
drivers/input/mousedev.c
drivers/input/tsdev.c