mmc: block: add eMMC hardware reset support
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 29 Aug 2011 13:42:15 +0000 (16:42 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:08 +0000 (16:32 -0400)
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>

No differences found