sdhci: pci: Fix up power if device has ACPI companion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Jul 2017 15:07:50 +0000 (18:07 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:39 +0000 (14:01 +0200)
commit0e39220ed6bedc251763d256651c7cd0a8927300
tree4aead8bfc9d295808e2bf029399fc8ce2745b79f
parentcd25c7be3cc6f5f349e57a0bd0fd056e7f3f8dbe
sdhci: pci: Fix up power if device has ACPI companion

Fix up a power state in case PCI device has an ACPI companion.

Do it only for Intel Merrifield for now.

This is almost copy'n'paste of part of sdhci_acpi_probe() and might be
split out to a helper function in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c