[PATCH] mmci: sync DATAEND irq with dma transfer done

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Apr 19 05:20:49 EDT 2011


On Tue, Apr 19, 2011 at 11:02:34AM +0200, Linus Walleij wrote:
> From: Ulf Hansson <ulf.hansson at stericsson.com>
> 
> The end of a dma job must be synced with a DATAEND irq. This will
> prevent the mmci driver from ending the mmc request before the
> dma driver is completely done. By using DMA_PREP_INTERRUPT we
> register a callback function which will is called when from the
> dma driver when the dma transfer is completed.

Why is what we currently do not sufficient?

This will break the detection of dead DMA controllers like on the ARM
reference platforms, as I've said before.



More information about the linux-arm-kernel mailing list