Input: elantech - query the min/max information beforehand too
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 28 May 2019 01:24:28 +0000 (18:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 May 2019 01:50:39 +0000 (18:50 -0700)
commit37548659bb223563797584c752274b81326d3f3c
tree71af2f8fe6989ea96080b08f9b725f9c915dc594
parentc114dc5e5bb3e6b7cf72005ea2fc0a54097cab19
Input: elantech - query the min/max information beforehand too

For the latest generation of Elantech touchpads, we need to forward
the min/max information from PS/2 to SMBus. Prepare this work
by fetching the information before creating the SMBus companion
device.

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