Skip to content

Commit 1b15b69

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI / x86: Skip AC and battery devices on x86 Android tablets with broken DSDTs
So far all of the tablets for which the skip i2c-client/serdev enumeration quirks have been added also all have broken ACPI AC / battery devices extend the existing quirks for these tablets to also skip the broken AC / battery devices. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 57a1832 commit 1b15b69

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

drivers/acpi/x86/utils.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,16 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
273273
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ME176C"),
274274
},
275275
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
276-
ACPI_QUIRK_UART1_TTY_UART2_SKIP),
276+
ACPI_QUIRK_UART1_TTY_UART2_SKIP |
277+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
277278
},
278279
{
279280
.matches = {
280281
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
281282
DMI_MATCH(DMI_PRODUCT_NAME, "TF103C"),
282283
},
283-
.driver_data = (void *)ACPI_QUIRK_SKIP_I2C_CLIENTS,
284+
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
285+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
284286
},
285287
{
286288
/* Whitelabel (sold as various brands) TM800A550L */
@@ -290,7 +292,8 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
290292
/* Above strings are too generic, also match on BIOS version */
291293
DMI_MATCH(DMI_BIOS_VERSION, "ZY-8-BI-PX4S70VTR400-X423B-005-D"),
292294
},
293-
.driver_data = (void *)ACPI_QUIRK_SKIP_I2C_CLIENTS,
295+
.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
296+
ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
294297
},
295298
#endif
296299
{}

0 commit comments

Comments
 (0)