aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-09-25 16:35:52 -0700
committerJiri Kosina <jkosina@suse.cz>2020-09-26 02:54:22 +0200
commit505f394fa239cecb76d916aa858f87ed7ea7fde4 (patch)
tree7871e15236907b5212f19d5c50445c3afe28f523 /drivers/hid/hid-core.c
parentHID: wacom: Avoid entering wacom_wac_pen_report for pad / battery (diff)
downloadlinux-dev-505f394fa239cecb76d916aa858f87ed7ea7fde4.tar.xz
linux-dev-505f394fa239cecb76d916aa858f87ed7ea7fde4.zip
HID: hid-input: fix stylus battery reporting
With commit 4f3882177240 hid-input started clearing of "ignored" usages to avoid using garbage that might have been left in them. However "battery strength" usages should not be ignored, as we do want to use them. Fixes: 4f3882177240 ("HID: hid-input: clear unmapped usages") Reported-by: Kenneth Albanowski <kenalba@google.com> Tested-by: Kenneth Albanowski <kenalba@google.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions