commit | 437db4c6e79881d33aca521987188c728df350a8 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Wed May 04 10:38:21 2016 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed May 04 13:11:53 2016 +0200 |
tree | 785b062054459efd6c6dfbf52d703a6c6917a926 | |
parent | f3f44d512cafef7e3d2cb140f642786dd6ec8818 [diff] |
mmc: mmc: Attempt to flush cache before reset CMD0 or hardware reset may invalidate the cache, so it needs to be flushed before reset. In the case of recovery, we can't expect flushing the cache to work always, but have a go and ignore errors. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>