HID: multitouch: specify that Apple Touch Bar is direct
authorKerem Karabay <kekrby@gmail.com>
Tue, 27 May 2025 16:43:16 +0000 (22:13 +0530)
committerJiri Kosina <jkosina@suse.com>
Wed, 11 Jun 2025 09:25:26 +0000 (11:25 +0200)
commit45ca23c5ee8b2b3074377fecc92fa72aa595f7c9
tree5cc267044d7a2c05959b8cd1766c6557fa597465
parent7dfe48bdc9d38db46283f2e0281bc1626277b8bf
HID: multitouch: specify that Apple Touch Bar is direct

Currently the driver determines the device type based on the
application, but this value is not reliable on Apple Touch Bar, where
the application is HID_DG_TOUCHPAD even though this device is direct,
so add a quirk for the same.

Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Kerem Karabay <kekrby@gmail.com>
Co-developed-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-multitouch.c