On Thu, Apr 05, 2012 at 13:21:18, Chuanxiao Dong wrote:
> MMC bus is using legacy suspend/resume method, which is not compatible if
> runtime pm callbacks are used. In this scenario, MMC bus suspend/resume
> callbacks cannot be called when system entering S3. So change to use the new
> defined dev_pm_ops for system sleeping mode
> 
> Signed-off-by: Chuanxiao Dong <[email protected]>
> ---
> Changes in v2:
>       use SET_SYSTEM_SLEEP_PM_OPS to define sleep callbacks as Rafael
>       suggested
> 
>  drivers/mmc/card/block.c |    2 +-
>  drivers/mmc/core/bus.c   |   26 ++++++++++++--------------
>  include/linux/mmc/card.h |    2 +-
>  3 files changed, 14 insertions(+), 16 deletions(-)
> 

Tested on AM335x Platform. Solves major issue/crash reported at 
http://www.mail-archive.com/[email protected]/msg65425.html

Tested-by: Hebbar, Gururaja <[email protected]>

..snip..


Regards, 
Gururaja
--
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

Reply via email to