commit | 9ac56f35714cb6769b924a7aad9f1f194739715d | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Mon Aug 29 16:42:15 2011 +0300 |
committer | Konstantin Dorfman <kdorfman@codeaurora.org> | Tue Feb 14 13:30:20 2012 +0200 |
tree | 32777fb660d1ff7d0b8bc79c8ac450b3b7131ff5 | |
parent | 94a20cdbcdaa92b08e01382e787180817428c450 [diff] |
mmc: block: add eMMC hardware reset support For cards that support hardware reset (just eMMC), try a reset and retry before returning an I/O error. However this is not done for ECC errors and is never done twice for the same operation type (READ, WRITE, DISCARD, SECURE DISCARD) until that type of operation again succeeds. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>