]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a3d6934659607f485848aa92777d298fd7ca7fa
tree132888322795b8ecf2d0b3b128ca850ec1eda532
parent19c69d82c0c961c07fcfd32c7d54d78ee49307c7
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>
drivers/mmc/card/block.c
drivers/mmc/core/core.c