mmc: dw_mmc: add missing codes for runtime resume
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 25 Nov 2016 03:47:15 +0000 (12:47 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:15 +0000 (10:31 +0100)
commitdf9bcc2bc0a1f8d2963bd916698268fb2470713b
tree699019edd12d2ee8cc228bae14e7122f77768b56
parent9b93d392fdbd336b0f1558592010c0169801afa5
mmc: dw_mmc: add missing codes for runtime resume

The commit 64997de4fd17 ("mmc: dw_mmc: remove system PM callback") is
missing to call dw_mci_ctrl_reset(). This adds to call
dw_mci_ctrl_reset() and to handle error of clocks.

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.c