]> git.sur5r.net Git - u-boot/commit
mmc: dw_mmc: Improve handling of data transfer failure
authorMarek Vasut <marex@denx.de>
Mon, 27 Jul 2015 20:39:38 +0000 (22:39 +0200)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 11 Aug 2015 17:44:30 +0000 (20:44 +0300)
commit9042d974d2391b58d9a51f805756fac31f3c656f
tree1bf55f4877d587863bd30e1e56a8bbea6736e096
parentd9dbb97be0e4a550457aec5f11afefb446169c90
mmc: dw_mmc: Improve handling of data transfer failure

In case the data transfer failure happens, instead of returning
immediatelly, make sure the DMA is disabled, status register is
cleared and the bounce buffer is stopped.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Tom Rini <trini@konsulko.com>
drivers/mmc/dw_mmc.c