]> 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)
commite5aa5e62c32563ea4d732354d111f183d82268a7
tree3dfa0fe8259f55aa1ee007be7c0bf1ef3bb94d08
parent2210dee339a5082414fd7502e6a08bee3fe4f5b8
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