mmc: tmio_mmc: fix card eject during IO with DMA
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 6 Jan 2012 12:06:51 +0000 (13:06 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:39:03 +0000 (20:39 -0500)
commite3de2be7368d2983bd7f7ddb6e9cf5ea32363128
tree810c6a3d5fe404ebbe98f98561b1b9b49ac6e4fb
parentdd13b4ed4650bb3a7d6c86b549ab66a6aa0c00d8
mmc: tmio_mmc: fix card eject during IO with DMA

When DMA is in use and the card is ejected during IO, DMA transfers have to
be terminated, otherwise the dmaengine driver fails to operate properly,
when the card is re-inserted.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_dma.c
drivers/mmc/host/tmio_mmc_pio.c