Input: elan_i2c - do not query the info if they are provided
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 28 May 2019 01:42:48 +0000 (18:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 May 2019 01:50:44 +0000 (18:50 -0700)
commite3a9a12906887aab3465bb34a1a5e436287b185d
tree0751ad999e34e3e69fe18f51b2af66406bfb7d01
parent303b3cf95ed322ab781cafe4c279e58755d3d8ee
Input: elan_i2c - do not query the info if they are provided

See the previous patch for a long explanation.

TL;DR: the P52 and the t480s from Lenovo can't rely on I2C to fetch
the information, so we need it from PS/2.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c