commit | 10e5d9652499a8bc0a99ffc2a96a3030fee576cb | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Mon Dec 16 16:23:22 2013 +0100 |
committer | Chris Ball <chris@printf.net> | Thu Feb 13 22:58:41 2014 -0500 |
tree | 96e06b53dd98374f23223aba1cd84ae54af36ff5 | |
parent | 469a00b017a9b2c630bff962ffd64ba626977830 [diff] |
mmc: core: Use mmc_flush_cache() during mmc suspend Earlier we disabled the cache during suspend, which meant a flush was internally at the eMMC performed as well. To simplify code we can make use of the mmc_flush_cache(), during mmc suspend, which makes the mmc_cache_ctrl() redundant so then we can remove it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Chris Ball <chris@printf.net>