diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-05-27 18:24:28 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-05-27 18:50:39 -0700 |
commit | 37548659bb223563797584c752274b81326d3f3c (patch) | |
tree | 71af2f8fe6989ea96080b08f9b725f9c915dc594 /drivers/input/mouse/elantech.h | |
parent | c114dc5e5bb3e6b7cf72005ea2fc0a54097cab19 (diff) | |
download | linux-next-37548659bb223563797584c752274b81326d3f3c.tar.gz |
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 'drivers/input/mouse/elantech.h')
-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; |