diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2014-07-29 05:59:57 -0400 |
|---|---|---|
| committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-08-16 04:23:55 -0400 |
| commit | 831a444ea6f8f25fd1a9cc9d7651bc18b5a1f755 (patch) | |
| tree | 0d01ae8ad0b431b243bf8254eeb707ccbec9b885 | |
| parent | fee4efd7d1372aa9ac2f6873167f02259cb143ef (diff) | |
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 <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
| -rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
| @@ -87,6 +87,20 @@ static int dmi_matched(const struct dmi_system_id *dmi) | |||
| 87 | static const struct dmi_system_id asus_quirks[] = { | 87 | static const struct dmi_system_id asus_quirks[] = { |
| 88 | { | 88 | { |
| 89 | .callback = dmi_matched, | 89 | .callback = dmi_matched, |
| 90 | .ident = "ASUSTeK COMPUTER INC. U32U", | ||
| 91 | .matches = { | ||
| 92 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), | ||
| 93 | DMI_MATCH(DMI_PRODUCT_NAME, "U32U"), | ||
| 94 | }, | ||
| 95 | /* | ||
| 96 | * Note this machine has a Brazos APU, and most Brazos Asus | ||
| 97 | * machines need quirk_asus_x55u / wmi_backlight_power but | ||
| 98 | * here acpi-video seems to work fine for backlight control. | ||
| 99 | */ | ||
| 100 | .driver_data = &quirk_asus_wapf4, | ||
| 101 | }, | ||
| 102 | { | ||
| 103 | .callback = dmi_matched, | ||
| 90 | .ident = "ASUSTeK COMPUTER INC. X401U", | 104 | .ident = "ASUSTeK COMPUTER INC. X401U", |
| 91 | .matches = { | 105 | .matches = { |
| 92 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | 106 | DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), |
