]> git.baikalelectronics.ru Git - kernel.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)
commita2034535d855e86770ee885b62d5cd72f63d5aa2
treeda338058843a4a3609ac551cae4ebe424b9f40f6
parent989658359c2054e41d760f3f692446565caa5b0a
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