mmc: dw_mmc: add runtime PM callback
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 12 Oct 2016 02:50:35 +0000 (10:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:36 +0000 (09:00 +0100)
commite9ed8835e99047422e09a192c0f61564d501d49b
tree9c98fcf542cf7e9cf11ba9ffa96390f7984802b8
parent70562644f4ee15214986966720ffe82fad03e693
mmc: dw_mmc: add runtime PM callback

This patch add dw_mci_runtime_suspend/resume interfaces
and expose it to dw_mci variant driver to support runtime
PM.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.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
drivers/mmc/host/dw_mmc.h