mmc: core: move the cache disabling operation to mmc_suspend
authorMaya Erez <merez@codeaurora.org>
Mon, 28 Jan 2013 21:44:22 +0000 (16:44 -0500)
committerChris Ball <cjb@laptop.org>
Sun, 24 Feb 2013 19:37:00 +0000 (14:37 -0500)
commit881d926d9d0bd2eb50f8f90c993bc403853382ce
tree111c13cd2340a2199ebd367c83cbeb357d65da03
parentf9e37137e420a626df4f5e7c4f0869bf7a1d4929
mmc: core: move the cache disabling operation to mmc_suspend

Cache control is an eMMC feature and in therefore should be
part of MMC's bus resume operations, performed in mmc_suspend,
rather than in the generic mmc_suspend_host().

Signed-off-by: Maya Erez <merez@codeaurora.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c