Re: [PATCH v4 11/18] dmaengine: dma-jz4780: Add missing residue DTC mask

2018-08-26 Thread Vinod
On 07-08-18, 13:42, Paul Cercueil wrote: > From: Daniel Silsby > > The 'dtc' word in jz DMA descriptors contains two fields: The > lowest 24 bits are the transfer count, and upper 8 bits are the DOA > offset to next descriptor. The upper 8 bits are now correctly masked > off when computing residu

[PATCH v4 11/18] dmaengine: dma-jz4780: Add missing residue DTC mask

2018-08-07 Thread Paul Cercueil
From: Daniel Silsby The 'dtc' word in jz DMA descriptors contains two fields: The lowest 24 bits are the transfer count, and upper 8 bits are the DOA offset to next descriptor. The upper 8 bits are now correctly masked off when computing residue in jz4780_dma_desc_residue(). Note that reads of th