diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-05-23 02:27:43 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-05-24 01:49:22 +0200 |
commit | 80212ed743d7d6618a33cf4d37fc625a061faf22 (patch) | |
tree | 61e77621d817c4cfa6fa56330e6fc542baa334a9 /drivers/input/mouse/elantech.h | |
parent | Input: elantech - split device info into a separate structure (diff) | |
download | linux-80212ed743d7d6618a33cf4d37fc625a061faf22.tar.xz linux-80212ed743d7d6618a33cf4d37fc625a061faf22.zip |
Input: elantech - query the resolution in query_info
The command ETP_RESOLUTION_QUERY also contains the bus information.
It is better to fetch it once, while we are querying for device
information.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: KT Liao <kt.liao@emc.com.tw>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h index d8ac27fe4597..851df4ce6232 100644 --- a/drivers/input/mouse/elantech.h +++ b/drivers/input/mouse/elantech.h @@ -120,6 +120,8 @@ struct elantech_device_info { unsigned char debug; unsigned char hw_version; unsigned int fw_version; + unsigned int x_res; + unsigned int y_res; bool paritycheck; bool jumpy_cursor; bool reports_pressure; |