]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a4dd5a92fb04caf69f3b368b88f7a3804472204
tree810c6a3d5fe404ebbe98f98561b1b9b49ac6e4fb
parenta732334136e2440c0e4036c3c9bd876cb18f46d2
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