commit | c5928551fd41b2eecdad78fa2be2a4a13ed5fde9 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Dec 19 12:57:49 2014 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu May 11 17:41:53 2017 -0700 |
tree | e6f8e725e127fb6cb4815b62b5a1e334f9dc217e | |
parent | c3f6f8612bdab5959950a58291bd61d1d42d996b [diff] |
Input: elan_i2c - check if device is there before really probing Before trying to properly initialize the touchpad and generate bunch of errors, let's first see it there is anything at the given address. If we get error, fail silently with -ENXIO. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>