summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorPablo Ceballos <pceballos@google.com>2020-11-02 19:29:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-02 08:29:27 +0100
commit9ef5ed79e5a8ae540ecf911fe651f3cd99a4e075 (patch)
tree03a5df9b0efc854b0567528accc669d8f014f807 /arch/x86
parentb550fecd4f1afe9b811cc4d42e465c4df36d629b (diff)
downloadlinux-stable-9ef5ed79e5a8ae540ecf911fe651f3cd99a4e075.tar.gz
linux-stable-9ef5ed79e5a8ae540ecf911fe651f3cd99a4e075.tar.bz2
linux-stable-9ef5ed79e5a8ae540ecf911fe651f3cd99a4e075.zip
HID: hid-sensor-hub: Fix issue with devices with no report ID
[ Upstream commit 34a9fa2025d9d3177c99351c7aaf256c5f50691f ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions