diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2015-11-05 18:08:08 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-12-22 13:32:02 +0300 |
commit | d234d2123fa734c8018f7d01ed5d663cf5e6f665 (patch) | |
tree | 5e9ad8d55a843964c00d5e6f672ae9b92a807980 /drivers/mmc/core/sd.c | |
parent | 86236813ff23e0e8afc6844d307fb84df98f6723 (diff) | |
download | linux-d234d2123fa734c8018f7d01ed5d663cf5e6f665.tar.xz |
mmc: core: Keep host claimed in mmc_rescan() while calling host ops
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 mmc_rescan(), the ->card_event() and the ->get_cd() callback are being
invoked without claiming the host, let's fix this.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sd.c')
0 files changed, 0 insertions, 0 deletions