]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
authorHans de Goede <hdegoede@redhat.com>
Sat, 18 Aug 2018 08:12:08 +0000 (10:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 Sep 2018 08:22:28 +0000 (10:22 +0200)
commit58796c258dd12cf9bf60fef33530c381381f79ef
tree1f7916f10cba3e23867b79daffe906eee09ab027
parent8ffa4194540eb8c8eea99716d3b3141bdc125d5a
HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report

Commit 6c8455e38aff ("HID: hid-sensor-hub: Force logical minimum to 1 for
power and report state") not only replaced the descriptor fixup done for
devices with the HID_SENSOR_HUB_ENUM_QUIRK with a generic fix, but also
accidentally removed the unrelated descriptor fixup for the Lenovo ThinkPad
Helix 2 sensor hub. This commit restores this fixup.

Restoring this fixup not only fixes the Lenovo ThinkPad Helix 2's sensors,
but also the Lenovo ThinkPad 8's sensors.

Fixes: 6c8455e38aff ("HID: hid-sensor-hub: Force logical minimum ...")
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Fernando D S Lima <fernandodsl@gmail.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sensor-hub.c