Input: cyttsp - perform hard reset of the chip during probe
authorOreste Salerno <oreste.salerno@tomtom.com>
Wed, 27 Jan 2016 21:58:38 +0000 (13:58 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 27 Jan 2016 22:32:49 +0000 (14:32 -0800)
commit8fb81d20019db3dea4126e3eac7ef8dc89b10b9e
tree3683206d6373795fa392dfd11fc13d37473b5bc4
parent707b61bba8b16adb6a2cbc72b71a75e09cb0f81a
Input: cyttsp - perform hard reset of the chip during probe

Since we removed support for calling an init() callback from
the platform data, introduce a function which initializes
the chip by performing a hard reset, using the reset gpio
defined in the device properties.

Signed-off-by: Oreste Salerno <oreste.salerno@tomtom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_core.c