]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 20:01:42 +0000 (12:01 -0800)
commit8fdb939daf356463911a58daf8b9146e6ee7cf81
treed3fa87585fce38f5eb8cd9c91e7162ce57a9c9d5
parent71915ded634a0a317b6f579d3c39112657e9a34d
Input: fix open count handling in input interfaces

patch 064450140f1eab959bd0eca0245f449993216074 in mainline.

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

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/evdev.c
drivers/input/joydev.c
drivers/input/mousedev.c
drivers/input/tsdev.c