]> git.baikalelectronics.ru Git - kernel.git/commit
HID: elan: Query device max_x and max_y value from touchpad
authorHans de Goede <hdegoede@redhat.com>
Wed, 11 Jul 2018 10:38:33 +0000 (12:38 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Jul 2018 13:25:39 +0000 (15:25 +0200)
commit2fd4a674e3d60019d89536fd8d55ed403ea71c0e
treef0a040da854680bb1014a13dfaf0cf42a367f65f
parenta04eb3f4f44b3515492bbde3281e12a9348ba777
HID: elan: Query device max_x and max_y value from touchpad

Query the device's max_x and max_y value from the touchpad rather then
hardcoding it. This makes adding support for other USB ids a lot easier.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-elan.c