On Tue, Apr 19, 2011 at 1:46 PM, Guennadi Liakhovetski
<[email protected]> wrote:
> MMC bus PM operations implement a .runtime_idle() method, which calls
> pm_runtime_suspend(), but this call is not balanced by a resume
> counterpart,
What's the exact flow you refer to ?
> which causes problems with repeated card-plug and driver-load
> cycles.
Can you please be more specific ? What are you trying to achieve, what
are the problems you encounter ?
> Removing this method fixes the disbalance.
I'm not sure which disbalance you're referring to, but if you'll
remove this method you will break MMC/SDIO runtime PM.
More specifically, without having this ->runtime_idle() handler, the
last user giving up its power usage_count (e.g. by calling
pm_runtime_put{_sync}) will not end up powering down the MMC card.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html