Searched hist:"34 a9fa2025d9d3177c99351c7aaf256c5f50691f" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-sensor-hub.c | diff 34a9fa2025d9d3177c99351c7aaf256c5f50691f Tue Nov 03 01:29:39 CET 2020 Pablo Ceballos <pceballos@google.com> HID: hid-sensor-hub: Fix issue with devices with no report ID
Some HID devices don't use a report ID because they only have a single report. In those cases, the report ID in struct hid_report will be zero and the data for the report will start at the first byte, so don't skip over the first byte.
Signed-off-by: Pablo Ceballos <pceballos@google.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|