[PATCH] DMA: get current descriptor data transfer count

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Sep 7 06:36:13 EDT 2012


On Fri, Sep 07, 2012 at 10:00:44AM +0000, Song, Elen wrote:
> 
> when data transfer by dma, we could know how many data transfered in one descriptor read DMAC_CTRLAx's btsize bit to get dma transfer size in this case, we could know how many data have been transfered even transaction timeout
> 
> Signed-off-by: Elen Song <elen.song at atmel.com>

NAK, please use the established API for this.



More information about the linux-arm-kernel mailing list