• J
    HID: output event in debugfs even if hid_get_report() fails · 1caea61e
    Jiri Kosina 提交于
    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: NJiri Kosina <jkosina@suse.cz>
    1caea61e
hid-core.c 59.6 KB