All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPI / x86: ac and battery device quirk work
@ 2021-12-30 19:31 Hans de Goede
  2021-12-30 19:31 ` [PATCH 1/2] ACPI / x86: Introduce an acpi_quirk_skip_acpi_ac_and_battery() helper Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hans de Goede @ 2021-12-30 19:31 UTC (permalink / raw)
  To: Rafael J . Wysocki; +Cc: Hans de Goede, Len Brown, linux-acpi, Stephan Gerhold

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(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-05 12:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 19:31 [PATCH 0/2] ACPI / x86: ac and battery device quirk work Hans de Goede
2021-12-30 19:31 ` [PATCH 1/2] ACPI / x86: Introduce an acpi_quirk_skip_acpi_ac_and_battery() helper Hans de Goede
2021-12-30 19:31 ` [PATCH 2/2] ACPI / x86: Skip ac and battery devices on x86 Android tablets with broken DSDTs Hans de Goede
2022-01-04 14:52 ` [PATCH 0/2] ACPI / x86: ac and battery device quirk work Rafael J. Wysocki
2022-01-04 15:07   ` Hans de Goede
2022-01-04 20:03     ` Rafael J. Wysocki
2022-01-05 12:17       ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.