diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2022-02-03 15:32:20 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-03-01 15:46:02 +0100 |
commit | 187ccd6caa4b40dcfbcb2531746e9fe500414e79 (patch) | |
tree | d0ef0cc13cc701f00c06b09ad1d047135d34afe0 /drivers/hid/hid-core.c | |
parent | f2d4ddfa640d2371bad55891159102acd2504108 (diff) |
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 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions