]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom_w8001 - handle touch error case correctly
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 3 Dec 2015 20:24:26 +0000 (12:24 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Dec 2015 23:58:51 +0000 (15:58 -0800)
commite6653087a744c016536d2c663ac114283db0b039
tree4d53b92a839f05c3266df8607bf4b292627bdcfd
parentc4721a66bb0ab2e43db0ba29f375c2eafd83ed66
Input: wacom_w8001 - handle touch error case correctly

If a device failed at the pen setup and gets a zero reply from the touch
device, we need to return an error. Otherwise we have a device with
nothing but a name and the EV_KEY and EV_ABS bits.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wacom_w8001.c