]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
HID: quirks: really enable the intended work around for appledisplay
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Thu, 5 Feb 2026 08:11:31 +0000 (09:11 +0100)
committerJiri Kosina <jkosina@suse.com>
Tue, 12 May 2026 15:23:59 +0000 (17:23 +0200)
Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for
appledisplay") intends to add a quirk for kernels built with Apple Cinema
Display support, but it refers to the non-existing config option
CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display
support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef
directive.

Fixes: c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-quirks.c

index 9e88c9d6c6dc0b55f396f9e4f6fc3eee8f44b0e3..512049963978a723f17eaba0134b80da0063744e 100644 (file)
@@ -235,7 +235,7 @@ static const struct hid_device_id hid_quirks[] = {
  * used as a driver. See hid_scan_report().
  */
 static const struct hid_device_id hid_have_special_driver[] = {
-#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+#if IS_ENABLED(CONFIG_USB_APPLEDISPLAY)
        { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
        { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
        { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },