]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Set a default resolution for older tablets
authorPing Cheng <pinglinux@gmail.com>
Sun, 9 Apr 2023 16:42:29 +0000 (09:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:36:02 +0000 (11:36 +0200)
commit6cf57ff81b319075c6fa55f85e1da6fe9ba4c040
treea6bc11a0a6e375cce72d1b4871d13d66f3e32bcf
parent6c9648cc79f430486dcce627a328f00c0bf5f38a
HID: wacom: Set a default resolution for older tablets

commit 08a46b4190d345544d04ce4fe2e1844b772b8535 upstream.

Some older tablets may not report physical maximum for X/Y
coordinates. Set a default to prevent undefined resolution.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Link: https://lore.kernel.org/r/20230409164229.29777-1-ping.cheng@wacom.com
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/wacom_wac.c