diff mbox series

usb: hid: add ALWAYS_POLL quirk for Apple kb

Message ID 20231114145430.3765-1-oneukum@suse.com (mailing list archive)
State Mainlined
Commit c55092187d9ad7b2f8f5a8645286fa03997d442f
Delegated to: Jiri Kosina
Headers show
Series usb: hid: add ALWAYS_POLL quirk for Apple kb | expand

Commit Message

Oliver Neukum Nov. 14, 2023, 2:54 p.m. UTC
These devices disconnect if suspended without
remote wakeup. They can operate with the standard
driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/hid/hid-quirks.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jiri Kosina Nov. 21, 2023, 8:50 a.m. UTC | #1
On Tue, 14 Nov 2023, Oliver Neukum wrote:

> These devices disconnect if suspended without
> remote wakeup. They can operate with the standard
> driver.
> 
> Signed-off-by: Oliver Neukum <oneukum@suse.com>

Applied, thanks Oliver.
diff mbox series

Patch

diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index 3983b4f282f8..0384384120c9 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -33,6 +33,7 @@  static const struct hid_device_id hid_quirks[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_AKAI, USB_DEVICE_ID_AKAI_MPKMINI2), HID_QUIRK_NO_INIT_REPORTS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ALPS, USB_DEVICE_ID_IBM_GAMEPAD), HID_QUIRK_BADPAD },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_AMI, USB_DEVICE_ID_AMI_VIRT_KEYBOARD_AND_MOUSE), HID_QUIRK_ALWAYS_POLL },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ANSI), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_2PORTKVM), HID_QUIRK_NOGET },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVMC), HID_QUIRK_NOGET },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVM), HID_QUIRK_NOGET },