Messages in this thread | | | Date | Wed, 10 Dec 2014 12:01:53 +0100 | From | Robert Baldyga <> | Subject | Re: [PATCH v2 0/2] dma: pl330: improve status checking |
| |
Hi,
On 12/09/2014 10:16 AM, Vinod Koul wrote: > On Fri, Dec 05, 2014 at 09:25:53AM +0100, Robert Baldyga wrote: >> Hi, >> >> This series allows to check DMA transfer residue (number of bytes left >> to send/receive) by modifying pl330_tx_status() function, when struct >> dma_tx_state is filled with needed data. It also introduces DMA_PAUSE >> feature, which allows to halt DMA transfer before termination and read >> residue without risk of data loss. >> >> This features are needed for proper implementation of DMA transfers, >> particulary for serial drivers when transfer sizes are unknown and >> requests on DMA channels are terminated before transfer completion >> very ofter (it's becouse we terminate then in timeout interrupt to >> avoid latency which is usually undesirable). > Applied, thanks >
I have found bug in my patches in series v2. There was double pm_runtime_put() call. I have fixed it in v3, which is already sent to list.
Thanks, Robert Baldyga
| |