mmc: sdhci-acpi: Remove special handling for GPD win/pocket devices
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Nov 2021 17:05:35 +0000 (18:05 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Dec 2021 19:14:25 +0000 (20:14 +0100)
commit8339abffd30cbddafce4a896c8620d0abe482c58
tree8d26523cc796a3269f7573191b3e59974bd392d1
parentb72cd8e0fa34d5491232c64b88e3eda35436eb57
mmc: sdhci-acpi: Remove special handling for GPD win/pocket devices

Remove the special sdhci_acpi_no_fixup_child_power() helper which was
added to avoid triggering an ACPI tables bug on the GPD win/pocket
devices.

The ACPI child-device triggering this bug has now been added to the
acpi_device_override_status() quirk table, so that its status
field is set to all 0 (instead of the wrong return value from the _STA
ACPI method). This removes the need for the special handling in
the sdhci-acpi code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mmc/host/sdhci-acpi.c