]> 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)
commit5b92442dcb29968c30b64845c27f712aea24d383
tree1f7916f10cba3e23867b79daffe906eee09ab027
parentd18bed5bdc9d38ba84b32f57b1547ed29a02df77
HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report

Commit 85ca2edc1310 ("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: 85ca2edc1310 ("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