mmc: sdhci-acpi: Ensure connected devices are powered when probing
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 19 May 2016 13:25:42 +0000 (15:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 20 May 2016 14:00:25 +0000 (16:00 +0200)
commite5bbf30733f930a1d17b4ccf19eac88e30a39cc7
tree3e509de22f32754b00b5a9d949997d49947120e2
parent78a898d0e39513469858de990de83210fee28ee9
mmc: sdhci-acpi: Ensure connected devices are powered when probing

Some devices connected to the SDHCI controller may have separate enabling
lines that are controlled through GPIO. These devices need to be powered
on and enabled before probing. This is to ensure all devices connected can
be seen by the controller.

Note, for "stable" this patch depends on the following change:
commit 78a898d0e395 ("ACPI / PM: Export acpi_device_fix_up_power()")

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reported-and-tested-by: Laszlo Fiat <laszlo.fiat@gmail.com>
Cc: <stable@vger.kernel.org> # 4.5+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reported-by: Laszlo Fiat <laszlo.fiat@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=112571
Link: http://lkml.kernel.org/r/CA+7w51inLtQSr656bJvOjGG9oQWKYPXH+xxDPJKbeJ=CcrkS9Q@mail.gmail.com
drivers/mmc/host/sdhci-acpi.c
This page took 0.025158 seconds and 5 git commands to generate.