Re: [PATCH] HID: hid-sensor-hub: Fix issue with devices with no report ID

2020-11-05 Thread Jiri Kosina
On Mon, 2 Nov 2020, Pablo Ceballos wrote: > 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. > >

Re: [PATCH] HID: hid-sensor-hub: Fix issue with devices with no report ID

2020-11-04 Thread Srinivas Pandruvada
On Mon, 2020-11-02 at 19:29 -0500, Pablo Ceballos wrote: > 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

[PATCH] HID: hid-sensor-hub: Fix issue with devices with no report ID

2020-11-02 Thread Pablo Ceballos
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 ---