]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - fix v4 button press recognition
authorAndreas Bosch <linux@progandy.de>
Wed, 15 Oct 2014 17:44:50 +0000 (10:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 Oct 2014 17:57:19 +0000 (10:57 -0700)
commitff6bc9abfda253cc537d57dfde554c9dd659d84a
tree2a53b17119ffa56c8621098b9043159b9c105393
parent45ea2d89fa0fb0c81740152a46517762a65585b5
Input: alps - fix v4 button press recognition

Since the change to struct input_mt_pos some variables are now bitfields
instead of integers. Automatic conversion from integer to bitfield entry
destroys information, therefore enforce boolean interpretation instead.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1114768
Fixes: b5bc17e27181 ("Input: alps - use struct input_mt_pos to track coordinates")
Signed-off-by: Andreas Bosch <linux@progandy.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c