mmc: dw_mmc: exynos: fix to call suspend callback
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 23 Nov 2016 09:36:02 +0000 (18:36 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:14 +0000 (10:31 +0100)
commit9b93d392fdbd336b0f1558592010c0169801afa5
tree06952371c5f5fe2a54c5b8a72ee078e27b781e48
parentf28ef5617254a946c1a8576dc3f243347b143794
mmc: dw_mmc: exynos: fix to call suspend callback

The dw_mmc-exynos should be RPM_ACTIVE on probe() to call suspend
callback of runtime PM in pm_runtime_force_suspend() during first system
suspend. Also call pm_runtime_get_noresume() on probe() because it
doesn't call suspend/resume callback by runtime PM now.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-exynos.c