RE: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the review... > >On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > >> @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct >> dma_chan *dchan) >> >> /* Remove and free all of the descriptors in the lists */ >>

RE: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the review... > >On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > >> @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct >> dma_chan *dchan) >> >> /* Remove and free all of the descriptors in the lists */ >>

Re: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Vinod Koul
On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct dma_chan > *dchan) > > /* Remove and free all of the descriptors in the lists */ > xilinx_dma_free_descriptors(chan); > + chan->idle =

Re: [PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-17 Thread Vinod Koul
On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote: > @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct dma_chan > *dchan) > > /* Remove and free all of the descriptors in the lists */ > xilinx_dma_free_descriptors(chan); > + chan->idle =

[PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-06 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not submitted when dmaengine is in progress. This will avoid the polling for a bit in the status register to know dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by:

[PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-06 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not submitted when dmaengine is in progress. This will avoid the polling for a bit in the status register to know dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana ---