]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21b9158a20cc7be132154bfa55f84016799d3ea3
tree3e509de22f32754b00b5a9d949997d49947120e2
parent07b77230defbdcef026ab842fe9dd70678cfa96e
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 07b77230defb ("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