Re: [PATCH 1/2] dma: pl330: improve pl330_tx_status() function

2014-11-26 Thread Padma Venkat
Hi Robert, I tested your patches on exynos5420 peach-pit with audio playback and got some underrun error. I posted a similar patch in the below link. https://patchwork.kernel.org/patch/5384551/ Please do review the same. Thanks Padma > On 25.11.2014 13:25, Robert Baldyga wrote: >> This patch a

Re: [PATCH 1/2] dma: pl330: improve pl330_tx_status() function

2014-11-25 Thread Krzysztof Kozłowski
On 25.11.2014 13:25, Robert Baldyga wrote: > This patch adds possibility to read residue of DMA transfer. It's useful > when we want to know how many bytes have been transfered before we > terminate channel. It can take place, for example, on timeout interrupt. > > Signed-off-by: Lukasz Czerwinski

Re: [PATCH 1/2] dma: pl330: improve pl330_tx_status() function

2014-11-25 Thread Lars-Peter Clausen
On 11/25/2014 01:25 PM, Robert Baldyga wrote: [...] static enum dma_status pl330_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) { - return dma_cookie_status(chan, cookie, txstate); + enum dma_status ret; + unsigned long

[PATCH 1/2] dma: pl330: improve pl330_tx_status() function

2014-11-25 Thread Robert Baldyga
This patch adds possibility to read residue of DMA transfer. It's useful when we want to know how many bytes have been transfered before we terminate channel. It can take place, for example, on timeout interrupt. Signed-off-by: Lukasz Czerwinski Signed-off-by: Robert Baldyga --- drivers/dma/pl3