diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-19 12:57:49 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-11 17:41:53 -0700 |
commit | c5928551fd41b2eecdad78fa2be2a4a13ed5fde9 (patch) | |
tree | e6f8e725e127fb6cb4815b62b5a1e334f9dc217e /drivers/input/mouse/elan_i2c_i2c.c | |
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>
Diffstat (limited to 'drivers/input/mouse/elan_i2c_i2c.c')
0 files changed, 0 insertions, 0 deletions