]> 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 11:59:07 +0000 (13:59 +0200)
commitb8f679d152de30e21c30323d9442ff28c23a92ea
tree2f5bec3e6c933b4ead8ebd6d03cee35c2e6073e0
parent4f96fe92635e70718760522d07bd6e8dbe4f1fa5
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