HID: quirks: really enable the intended work around for appledisplay
Subsystems (2)
PATCH 1/1 HID: quirks: really enable the intended work around for appledisplay
From: Lukas Bulwahn <[email protected]>
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.
---
Note this fix suggests that the patch of commit c7fabe4ad921 in this form was never effectively tested, checking the effect that the commit message claims it would have.
drivers/hid/hid-quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-quirks.c +1 -1
@@ -233,7 +233,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) },
Signature · 1 line
2.52.0
Hi,
Quoted 13 lines · Lukas Bulwahn
From: Lukas Bulwahn <[email protected]>
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 optionCONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is namedCONFIG_USB_APPLEDISPLAY.Refer to the intended config option
CONFIG_USB_APPLEDISPLAYin the ifdef directive.
Quoted 7 lines
Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")Signed-off-by Lukas Bulwahn <[email protected]>---
Note this fix suggests that the patch of commit
c7fabe4ad921in this form was never effectively tested, checking the effect that the commit message claims it would have.
Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.
Either way, I’ll get the display out of the basement and re-test it the coming days.
René
Quoted 19 lines
drivers/hid/hid-quirks.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/hid/hid-quirks.c +1
-1@@ -233,7 +233,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) },Signature · 1 line
2.52.0
Signature · 1 line
https://exactco.de • https://t2linux.com • https://patreon.com/renerebe
Jiri Kosina
maintainerQuoted 19 lines · René Rebe
Quoted 11 lines
From: Lukas Bulwahn <[email protected]>
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 optionCONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is namedCONFIG_USB_APPLEDISPLAY.Refer to the intended config option
CONFIG_USB_APPLEDISPLAYin the ifdef directive.Quoted 7 lines
Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")Signed-off-by Lukas Bulwahn <[email protected]>---
Note this fix suggests that the patch of commit
c7fabe4ad921in this form was never effectively tested, checking the effect that the commit message claims it would have.
Quoted 5 lines
Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if
IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.Either way, I’ll get the display out of the basement and re-test it the coming days.
Is there any results of this testing, please?
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
Jiri Kosina
maintainerQuoted 17 lines · Jiri Kosina
Quoted 17 lines
Quoted 16 lines
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 optionCONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is namedCONFIG_USB_APPLEDISPLAY.Refer to the intended config option
CONFIG_USB_APPLEDISPLAYin the ifdef directive.Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")Signed-off-by Lukas Bulwahn <[email protected]>---
Note this fix suggests that the patch of commit
c7fabe4ad921in this form was never effectively tested, checking the effect that the commit message claims it would have.
Quoted 7 lines
Quoted 5 lines
Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if
IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.Either way, I’ll get the display out of the basement and re-test it the coming days.
Is there any results of this testing, please?
Friendly ping on this one :)
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 8 lines · Lukas Bulwahn
From: Lukas Bulwahn <[email protected]>
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 optionCONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is namedCONFIG_USB_APPLEDISPLAY.
Quoted 5 lines
Refer to the intended config option
CONFIG_USB_APPLEDISPLAYin the ifdef directive.Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")Signed-off-by Lukas Bulwahn <[email protected]>
Applied, thanks Lukas.
Signature · 2 lines
Jiri Kosina SUSE Labs