Input: elants_i2c - get product id on recovery mode for FW update
authorJohnny Chuang <johnny.chuang@emc.com.tw>
Thu, 25 Aug 2016 16:26:53 +0000 (09:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Aug 2016 17:11:31 +0000 (10:11 -0700)
commitbc1d57fe5ff7574e6cf1d53bd88edbd87e127420
tree7708056bfba6ea2dc09e9ef0dcc0bea61eeaa229
parentc9a3a7cf95d8429c5db0fc98758c21f8fefb38fa
Input: elants_i2c - get product id on recovery mode for FW update

We use hw version to construct name of file holding touchscreen firmware,
so let's try reading it even if touchscreen initialization fails (the
firmware supports reading product/hardware id even when device is in
recovery/boot mode).

Signed-off-by: Johnny Chuang <johnny.chuang@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c