aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-09-11 14:41:55 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-10-26 15:59:52 +0100
commit8d1ffc8c982e4480059ef735e8f15f631e40e80c (patch)
treeb887a15e7e0660f5ec046550bc31cc63b28e09b4 /include/linux/mmc
parentmmc: sdhci-acpi: detect sd card reader on asus x205ta (diff)
downloadlinux-dev-8d1ffc8c982e4480059ef735e8f15f631e40e80c.tar.xz
linux-dev-8d1ffc8c982e4480059ef735e8f15f631e40e80c.zip
mmc: core: Keep host claimed while invoking mmc_power_off|up()
As mmc_claim_host() invokes pm_runtime_get_sync() for the mmc host device, it's important that the host is kept claimed for *all* accesses to it via the host_ops callbacks. In some code paths for SDIO, particularly related to the PM support, mmc_power_off|up() is invoked without keeping the host claimed. Let's fix these. Moreover, mmc_start|stop_host() also invokes mmc_power_off|up() without claiming the host, let's fix these as well. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions