Skip to content

Commit e2cf3b5

Browse files
flukejonesgregkh
authored andcommitted
platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
[ Upstream commit 28117f3 ] The quirks added to asus-nb-wmi for the ASUS ROG Zephyrus G14 and G15 are wrong, they tell the asus-wmi code to use the vendor specific WMI backlight interface. But there is no such interface on these laptops. As a side effect, these quirks stop the acpi_video driver to register since they make acpi_video_get_backlight_type() return acpi_backlight_vendor, leaving only the native AMD backlight driver in place, which is the one we want. This happy coincidence is being replaced with a new quirk in drivers/acpi/video_detect.c which actually sets the backlight_type to acpi_backlight_native fixinf this properly. This reverts commit 13bceda ("platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15"). Signed-off-by: Luke D. Jones <luke@ljones.dev> Link: https://lore.kernel.org/r/20210419074915.393433-3-luke@ljones.dev Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent dff2466 commit e2cf3b5

1 file changed

Lines changed: 0 additions & 82 deletions

File tree

‎drivers/platform/x86/asus-nb-wmi.c‎

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,6 @@ static struct quirk_entry quirk_asus_forceals = {
110110
.wmi_force_als_set = true,
111111
};
112112

113-
static struct quirk_entry quirk_asus_ga401i = {
114-
.wmi_backlight_power = true,
115-
.wmi_backlight_set_devstate = true,
116-
};
117-
118-
static struct quirk_entry quirk_asus_ga502i = {
119-
.wmi_backlight_power = true,
120-
.wmi_backlight_set_devstate = true,
121-
};
122-
123113
static struct quirk_entry quirk_asus_use_kbd_dock_devid = {
124114
.use_kbd_dock_devid = true,
125115
};
@@ -425,78 +415,6 @@ static const struct dmi_system_id asus_quirks[] = {
425415
},
426416
.driver_data = &quirk_asus_forceals,
427417
},
428-
{
429-
.callback = dmi_matched,
430-
.ident = "ASUSTeK COMPUTER INC. GA401IH",
431-
.matches = {
432-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
433-
DMI_MATCH(DMI_PRODUCT_NAME, "GA401IH"),
434-
},
435-
.driver_data = &quirk_asus_ga401i,
436-
},
437-
{
438-
.callback = dmi_matched,
439-
.ident = "ASUSTeK COMPUTER INC. GA401II",
440-
.matches = {
441-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
442-
DMI_MATCH(DMI_PRODUCT_NAME, "GA401II"),
443-
},
444-
.driver_data = &quirk_asus_ga401i,
445-
},
446-
{
447-
.callback = dmi_matched,
448-
.ident = "ASUSTeK COMPUTER INC. GA401IU",
449-
.matches = {
450-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
451-
DMI_MATCH(DMI_PRODUCT_NAME, "GA401IU"),
452-
},
453-
.driver_data = &quirk_asus_ga401i,
454-
},
455-
{
456-
.callback = dmi_matched,
457-
.ident = "ASUSTeK COMPUTER INC. GA401IV",
458-
.matches = {
459-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
460-
DMI_MATCH(DMI_PRODUCT_NAME, "GA401IV"),
461-
},
462-
.driver_data = &quirk_asus_ga401i,
463-
},
464-
{
465-
.callback = dmi_matched,
466-
.ident = "ASUSTeK COMPUTER INC. GA401IVC",
467-
.matches = {
468-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
469-
DMI_MATCH(DMI_PRODUCT_NAME, "GA401IVC"),
470-
},
471-
.driver_data = &quirk_asus_ga401i,
472-
},
473-
{
474-
.callback = dmi_matched,
475-
.ident = "ASUSTeK COMPUTER INC. GA502II",
476-
.matches = {
477-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
478-
DMI_MATCH(DMI_PRODUCT_NAME, "GA502II"),
479-
},
480-
.driver_data = &quirk_asus_ga502i,
481-
},
482-
{
483-
.callback = dmi_matched,
484-
.ident = "ASUSTeK COMPUTER INC. GA502IU",
485-
.matches = {
486-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
487-
DMI_MATCH(DMI_PRODUCT_NAME, "GA502IU"),
488-
},
489-
.driver_data = &quirk_asus_ga502i,
490-
},
491-
{
492-
.callback = dmi_matched,
493-
.ident = "ASUSTeK COMPUTER INC. GA502IV",
494-
.matches = {
495-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
496-
DMI_MATCH(DMI_PRODUCT_NAME, "GA502IV"),
497-
},
498-
.driver_data = &quirk_asus_ga502i,
499-
},
500418
{
501419
.callback = dmi_matched,
502420
.ident = "Asus Transformer T100TA / T100HA / T100CHI",

0 commit comments

Comments
 (0)