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)
commit4896fb1348713344abbd9f692b393b5fdc539bf8
tree2901297241bde9ee5b5be59fe012c4b514cebb5b
parentf5a28a7d4858f94a2d8b5271ffee607de30050e4
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