diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-05-28 03:24:28 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-05-28 03:50:39 +0200 |
commit | 37548659bb223563797584c752274b81326d3f3c (patch) | |
tree | 71af2f8fe6989ea96080b08f9b725f9c915dc594 /drivers/input/mouse/elantech.h | |
parent | Merge branch 'for-linus' into next (diff) | |
download | linux-37548659bb223563797584c752274b81326d3f3c.tar.xz linux-37548659bb223563797584c752274b81326d3f3c.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/input/mouse/elantech.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h index 119727085a60..194503ed59c5 100644 --- a/drivers/input/mouse/elantech.h +++ b/drivers/input/mouse/elantech.h @@ -144,8 +144,13 @@ struct elantech_device_info { unsigned char debug; unsigned char hw_version; unsigned int fw_version; + unsigned int x_min; + unsigned int y_min; + unsigned int x_max; + unsigned int y_max; unsigned int x_res; unsigned int y_res; + unsigned int width; unsigned int bus; bool paritycheck; bool jumpy_cursor; |