]> git.baikalelectronics.ru Git - kernel.git/commit
Input: melfas_mip4 - ensure that device is present
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 23:50:28 +0000 (16:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 29 Mar 2017 07:25:01 +0000 (00:25 -0700)
commit03053363121d19f2e06cb52a7f5ea797c66d9473
tree2901297241bde9ee5b5be59fe012c4b514cebb5b
parent11518efcfe6352ea81d6e85cca3206cc202fe59b
Input: melfas_mip4 - ensure that device is present

Try a quick read from the device in mip4_query_device() to make sure
that the device is there, as we do not consider failures to retrieve
product name or resolution fatal.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/melfas_mip4.c