diff options
Diffstat (limited to 'drivers/acpi/blacklist.c')
-rw-r--r-- | drivers/acpi/blacklist.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 1d1791935c31..278dc4be992a 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c | |||
@@ -162,6 +162,15 @@ static int __init dmi_disable_osi_win8(const struct dmi_system_id *d) | |||
162 | acpi_osi_setup("!Windows 2012"); | 162 | acpi_osi_setup("!Windows 2012"); |
163 | return 0; | 163 | return 0; |
164 | } | 164 | } |
165 | #ifdef CONFIG_ACPI_REV_OVERRIDE_POSSIBLE | ||
166 | static int __init dmi_enable_rev_override(const struct dmi_system_id *d) | ||
167 | { | ||
168 | printk(KERN_NOTICE PREFIX "DMI detected: %s (force ACPI _REV to 5)\n", | ||
169 | d->ident); | ||
170 | acpi_rev_override_setup(NULL); | ||
171 | return 0; | ||
172 | } | ||
173 | #endif | ||
165 | 174 | ||
166 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { | 175 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { |
167 | { | 176 | { |
@@ -325,6 +334,23 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { | |||
325 | DMI_MATCH(DMI_PRODUCT_NAME, "1015PX"), | 334 | DMI_MATCH(DMI_PRODUCT_NAME, "1015PX"), |
326 | }, | 335 | }, |
327 | }, | 336 | }, |
337 | |||
338 | #ifdef CONFIG_ACPI_REV_OVERRIDE_POSSIBLE | ||
339 | /* | ||
340 | * DELL XPS 13 (2015) switches sound between HDA and I2S | ||
341 | * depending on the ACPI _REV callback. If userspace supports | ||
342 | * I2S sufficiently (or if you do not care about sound), you | ||
343 | * can safely disable this quirk. | ||
344 | */ | ||
345 | { | ||
346 | .callback = dmi_enable_rev_override, | ||
347 | .ident = "DELL XPS 13 (2015)", | ||
348 | .matches = { | ||
349 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
350 | DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"), | ||
351 | }, | ||
352 | }, | ||
353 | #endif | ||
328 | {} | 354 | {} |
329 | }; | 355 | }; |
330 | 356 | ||