Input: uinput - allow for max == min during input_absinfo validation
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 18 Sep 2018 16:53:32 +0000 (09:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Sep 2018 22:28:07 +0000 (15:28 -0700)
commit4fef1250eafddc5182cd5c3c354a6971bcf7520d
tree495fb2fdc2ac6ba2e601ac2197a2a2c72338fe63
parent91a97507323e1ad4bfc10f4a5922e67cdaf8b3cd
Input: uinput - allow for max == min during input_absinfo validation

These values are inclusive, so a range of 1 requires min == max.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/uinput.c