]> 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)
commit6f131584c688e25d98416e5f47a45346723d5963
tree810c6a3d5fe404ebbe98f98561b1b9b49ac6e4fb
parente4a73662be2683430676c7e6965c48ab9e18afe5
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