Skip to content
Commit 32d317c6 authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Chris Ball
Browse files

mmc: remove MMC bus legacy suspend/resume method



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.

Tested on AM335x Platform. Solves major issue/crash reported at
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg65425.html

Signed-off-by: default avatarChuanxiao Dong <chuanxiao.dong@intel.com>
Tested-by: default avatarHebbar, Gururaja <gururaja.hebbar@ti.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarUlf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 4d048f91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment