Ulf Hansson d234d2123f 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>
2015-12-22 11:32:02 +01:00
..
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00
2014-05-12 18:05:53 -04:00
2007-09-23 19:45:31 +02:00
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00