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)
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: 02d04254a5df ("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>

No differences found