HID: propagate return value correctly in hid_input_report()
authorJiri Kosina <jkosina@suse.cz>
Wed, 10 Aug 2011 12:02:59 +0000 (14:02 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Aug 2011 12:02:59 +0000 (14:02 +0200)
commit45dc1ac73d28b3adb5819818785e758b1f369b74
treec4a7793c7c342fef92472bc89cd5c015135bc9b5
parent4ea5454203d991ec85264f64f89ca8855fce69b0
HID: propagate return value correctly in hid_input_report()

Fix a return value propagation that was omitted in David Herrmann's
locking fix around hid_input_report().

Reported-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c