From: Hans de Goede Date: Tue, 29 Jul 2014 09:59:57 +0000 (+0200) Subject: asus-nb-wmi: Add wapf4 quirk for the U32U X-Git-Tag: MMI-PSA29.97-13-9~11667^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=831a444ea6f8f25fd1a9cc9d7651bc18b5a1f755;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git asus-nb-wmi: Add wapf4 quirk for the U32U As reported here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173681 the U32U needs wapf=4 too. Signed-off-by: Hans de Goede Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index cfd506683726..3a4951f46065 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -85,6 +85,20 @@ static int dmi_matched(const struct dmi_system_id *dmi) } static const struct dmi_system_id asus_quirks[] = { + { + .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. U32U", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "U32U"), + }, + /* + * Note this machine has a Brazos APU, and most Brazos Asus + * machines need quirk_asus_x55u / wmi_backlight_power but + * here acpi-video seems to work fine for backlight control. + */ + .driver_data = &quirk_asus_wapf4, + }, { .callback = dmi_matched, .ident = "ASUSTeK COMPUTER INC. X401U",