]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: atmel-mci: abort transfer on timeout error
authorLudovic Desroches <ludovic.desroches@atmel.com>
Mon, 9 Sep 2013 15:29:56 +0000 (17:29 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:45:36 +0000 (21:45 -0400)
commitc1fa3426aa5c782724c97394303d52228206eda4
treeda338058843a4a3609ac551cae4ebe424b9f40f6
parenta27fbf2f067b0cd6f172c8b696b9a44c58bfaa7a
mmc: atmel-mci: abort transfer on timeout error

When a software timeout occurs, the transfer is not stopped. In DMA case,
it causes DMA channel to be stuck because the transfer is still active
causing following transfers to be queued but not computed.

Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Reported-by: Alexander Morozov <etesial@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci.c