]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit045083248fc9d44f273a11595f20085ae942053b
tree7708056bfba6ea2dc09e9ef0dcc0bea61eeaa229
parent691b49465b09eb078265a6a38647198527dbd00e
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