diff options
author | 2022-01-07 12:09:36 -0800 | |
---|---|---|
committer | 2022-01-14 09:33:17 +0100 | |
commit | 3fe6acd4dc922237b30e55473c9349c6ce0690f3 (patch) | |
tree | 97b012b9e8313d0c7010d7cd79d7f3a263daf8ec /scripts/gdb/linux/utils.py | |
parent | HID: Ignore battery for Elan touchscreen on HP Envy X360 15t-dr100 (diff) | |
download | wireguard-linux-3fe6acd4dc922237b30e55473c9349c6ce0690f3.tar.xz wireguard-linux-3fe6acd4dc922237b30e55473c9349c6ce0690f3.zip |
HID: vivaldi: fix handling devices not using numbered reports
Unfortunately details of USB HID transport bled into HID core and
handling of numbered/unnumbered reports is quite a mess, with
hid_report_len() calculating the length according to USB rules,
and hid_hw_raw_request() adding report ID to the buffer for both
numbered and unnumbered reports.
Untangling it all requres a lot of changes in HID, so for now let's
handle this in the driver.
[jkosina@suse.cz: microoptimize field->report->id to report->id]
Fixes: 14c9c014babe ("HID: add vivaldi HID driver")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Stephen Boyd <swboyd@chromium.org> # CoachZ
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions