summaryrefslogtreecommitdiff
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2022-02-03 17:32:20 +0300
committerJiri Kosina <jkosina@suse.cz>2022-03-01 17:46:02 +0300
commit187ccd6caa4b40dcfbcb2531746e9fe500414e79 (patch)
treed0ef0cc13cc701f00c06b09ad1d047135d34afe0 /include/linux/hid.h
parentf2d4ddfa640d2371bad55891159102acd2504108 (diff)
downloadlinux-187ccd6caa4b40dcfbcb2531746e9fe500414e79.tar.xz
HID: input: move up out-of-range processing of input values
It actually makes sense to clamp the value to its boundaries before doing further processing. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
0 files changed, 0 insertions, 0 deletions