summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-twinhan.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-03-18 12:09:53 +0100
committerJiri Kosina <jkosina@suse.cz>2010-03-18 12:09:53 +0100
commit1caea61eda5c4d446147aa0e712ba395bb6b81c3 (patch)
tree8f45a6db478fd24b43e5b2fbc3b58ecc69eaea62 /drivers/hid/hid-twinhan.c
parenta85821fce2c100a6680511f9693b76f9717fbdee (diff)
HID: output event in debugfs even if hid_get_report() fails
if hid_get_report() fails for whatever reason, the raw output of the report doesn't make it into 'events' file in debugfs at all, because we leave hid_input_report() too soon. We want the report to be always present for debugging reasons. Move the code around, so that the event makes it to 'events' file all the time, even if we are going to discard the report. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-twinhan.c')
0 files changed, 0 insertions, 0 deletions