]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Fix T100TA touchpad y dimensions
authorHans de Goede <hdegoede@redhat.com>
Sun, 2 Jul 2017 14:34:13 +0000 (16:34 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Jul 2017 14:01:10 +0000 (16:01 +0200)
commit12db07c5e46c84a6b5ee5e41454c2979df9c6278
treefb64fa475d08b1c49d6757a75b11e607a55a5210
parent374cb37d435b85e8a5461d69fe9cf978c2cfafb3
HID: asus: Fix T100TA touchpad y dimensions

When adding the initial support I only looked at the maximum coordinates
but the Y axis is inverted, so I should have checked the minimum
coodinates which never reach 0 due to max_y being wrong, fix this.

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