]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ar1021_i2c - enable touch mode during open
authorMartin Kepplinger <martin.kepplinger@ginzinger.com>
Fri, 28 Apr 2017 16:58:12 +0000 (09:58 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 May 2017 16:28:49 +0000 (09:28 -0700)
commit7e8e4806f6c37372989993fb91a3166c53a2ca4c
tree3dfa0fe8259f55aa1ee007be7c0bf1ef3bb94d08
parent97a90b1b12ca2f7a47de3a7de357d1bb33f66a41
Input: ar1021_i2c - enable touch mode during open

The device could as well be in command mode, in which this driver cannot
handle the device. When opening the device, let's make sure the device
will be in the mode we expect it to be for this driver.

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ar1021_i2c.c