Input: edt-ft5x06 - fix an i2c write for M09 support
authorRobert Woerle <robert@linuxdevelopment.de>
Sun, 8 Jun 2014 05:20:23 +0000 (22:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 8 Jun 2014 06:20:22 +0000 (23:20 -0700)
commitcc071acaa2cf7b7b8c716ad48f3ba93a2e064687
treeef8de834165be297f843ab3f3eb42e72c0884cde
parent61721c88b8d85c9dc13bfeedf75dfc245f397c3c
Input: edt-ft5x06 - fix an i2c write for M09 support

The driver sends 3 bytes instead of 2 when accessing a register on the M09
firmware, so writing to gain seems to overflow into the offset register.

Signed-off-by: Robert Woerle <robert@linuxdevelopment.de>
Acked-By: Simon Budig <simon.budig@kernelconcepts.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c