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)
commite55057e82ad413603fd45eac3b83b80acde780e1
tree3dfa0fe8259f55aa1ee007be7c0bf1ef3bb94d08
parentaea415b1d10ea25779a100da639b3e3989080971
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