]> git.itanic.dy.fi Git - linux-stable/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:11:50 +0000 (11:11 +0200)
commit04d73ed481a9d4d7a1a8e52e18095378f486b14a
tree541606ffe6b963595ce8bc305815d2cbcf66a0e4
parent3eeb26a3e41e9c3e51825373ee4cbed738fd7230
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