Skip to content

ACPI / x86: ac and battery device quirk work

Hans de Goede linux-acpi 1 version Applied

Status from this message: Applied as 5.17 material.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ACPI / x86: Introduce an acpi_quirk_skip_acpi_ac_and_battery() helperdrivers/acpi/ac.c drivers/acpi/battery.c drivers/acpi/x86/utils.c +1 more+84 -830 replies
2/2ACPI / x86: Skip ac and battery devices on x86 Android tablets with broken DSDTsdrivers/acpi/x86/utils.c+6 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ACPI / x86: ac and battery device quirk work

Hi Rafael,

Here are 2 patches for ACPI ac and battery device quirk handling on x86, the first one refactors the almost identical quirk handling in ac.c and battery.c out into a shared helper.

And the 2nd patch then uses the now shared code to also skip / ignore ac and battery devices on x86 Android tablets with known broken DSDTs.

Note this applies on top of my:
"[PATCH v2 0/3] ACPI / pdx86: Add support for x86 Android tablets with broken DSDTs" series which you've just merged into your bleeding edge branch.

Regards,

Hans

Hans de Goede (2):
ACPI / x86: Introduce an acpi_quirk_skip_acpi_ac_and_battery() helper ACPI / x86: Skip ac and battery devices on x86 Android tablets with
broken DSDTs

 drivers/acpi/ac.c        | 43 ++------------------
 drivers/acpi/battery.c   | 42 ++------------------
 drivers/acpi/x86/utils.c | 86 ++++++++++++++++++++++++++++++++++++----
 include/acpi/acpi_bus.h  |  5 +++
 4 files changed, 90 insertions(+), 86 deletions(-)
Signature · 1 line
2.33.1