]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdaef11f47e675ac68377bd61b84f6c0ba62a4e1
tree8d26523cc796a3269f7573191b3e59974bd392d1
parent811d82a4e5a6145c12f1b6d5fda3715e696e6633
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