Skip to content
Commit 1caea61e authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
parent a85821fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment