platform/x86: asus-nb-wmi: add UX7602ZM DMI quirk
PATCH 1/1 platform/x86: asus-nb-wmi: add UX7602ZM DMI quirk
--- drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -0
@@ -553,6 +553,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_z13, }, + { + .callback = dmi_matched, + .ident = "ASUS Zenbook UX7602ZM", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "Zenbook UX7602ZM_UX7602ZM"), + }, + .driver_data = &quirk_asus_zenbook_duo_kbd, + }, {}, };
Signature · 1 line
2.51.0
Denis Benato
maintainerHello and than you for this.
There a few things missing here:
- a commit description for the why this was required
- your signed-off-by tag
Quoted 11 lines · Paweł Hofman
--- drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/platform/x86/asus-nb-wmi.c +0
-0@@ -553,6 +553,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_z13,
drivers/platform/x86/asus-nb-wmi.c static const struct dmi_system_id asus_quirks[] = { · line 564
Quoted 10 lines
drivers/platform/x86/asus-nb-wmi.c +9
-0}, + { + .callback = dmi_matched, + .ident = "ASUS Zenbook UX7602ZM", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "Zenbook UX7602ZM_UX7602ZM"), + }, + .driver_data = &quirk_asus_zenbook_duo_kbd, + },
Please use tabs to align and ensure it is aligned with other entries.
Also keep all quirk_asus_zenbook_duo_kdb entries together please.
Quoted 3 lines
drivers/platform/x86/asus-nb-wmi.c +0
-0{}, };