Input: wacom - check for bluetooth protocol while setting OLEDs
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 6 Aug 2014 20:58:25 +0000 (13:58 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Aug 2014 22:14:52 +0000 (15:14 -0700)
commit849e2f06781a0c73573024bdaea0babc0c4e31af
tree43711130ccd3588440bf8c03c9f6e3b0e3964d4b
parent81af7e61a774e687ed4a7f37992ef75da57c5ddf
Input: wacom - check for bluetooth protocol while setting OLEDs

Bluetooth Intuos 4 use 1-bit definition while the USB ones use a 4-bits
definition. This changes the size of the raw image we receive, and thus
the kernel will only accept 1-bit images for Bluetooth and 4-bits for
USB.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/hid/wacom_sys.c