diff options
author | Pablo Ceballos <pceballos@google.com> | 2020-11-02 19:29:39 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-11-05 11:09:28 +0100 |
commit | 34a9fa2025d9d3177c99351c7aaf256c5f50691f (patch) | |
tree | 8b224c58432f926f1eac9510c77bcbf09a6e58aa /drivers/pci/controller/pci-host-generic.c | |
parent | 5c7e02a896689407555b3a10d6ed87369c70916e (diff) |
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>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions