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

Vitaly Wool vitalywool at gmail.com
Wed Apr 20 12:46:05 EDT 2011


Hi Linus,

> My rough guess (after looking at the VHDL code) is that
> RXDATAVLBL flag goes low when the FIFO is empty, but that
> doesn't mean that the DMA handshake logic is out of its send/recieve
> state and thus we screw it up if we hammer in another transfer before
> it has had time to deassert the single/burst request signals and go to
> idle state. This can only be seen by the side effect of the DMA
> transfer actually terminating, and the DMA engine calling its
> callback.



More information about the linux-arm-kernel mailing list