Re: [PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-23 Thread Vinod Koul
On 21-01-19, 14:38, codrin.ciubota...@microchip.com wrote: > On 20.01.2019 13:04, Vinod Koul wrote: > > Hi Codrin, > > > > On 17-01-19, 16:10, codrin.ciubota...@microchip.com wrote: > >> From: Codrin Ciubotariu > >> > >> atchan->status is used for two things: > >> - pass channel interrupts

Re: [PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-22 Thread Ludovic Desroches
On Thu, Jan 17, 2019 at 05:10:38PM +0100, Codrin Ciubotariu - M19940 wrote: > From: Codrin Ciubotariu > > atchan->status is used for two things: > - pass channel interrupts status from interrupt handler to tasklet; > - channel information like whether it is cyclic or paused; > > Since these

Re: [PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-21 Thread Codrin.Ciubotariu
On 20.01.2019 13:04, Vinod Koul wrote: > Hi Codrin, > > On 17-01-19, 16:10, codrin.ciubota...@microchip.com wrote: >> From: Codrin Ciubotariu >> >> atchan->status is used for two things: >> - pass channel interrupts status from interrupt handler to tasklet; >> - channel information like

Re: [PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-20 Thread Vinod Koul
Hi Codrin, On 17-01-19, 16:10, codrin.ciubota...@microchip.com wrote: > From: Codrin Ciubotariu > > atchan->status is used for two things: > - pass channel interrupts status from interrupt handler to tasklet; > - channel information like whether it is cyclic or paused; > > Since these

[PATCH] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-17 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu atchan->status is used for two things: - pass channel interrupts status from interrupt handler to tasklet; - channel information like whether it is cyclic or paused; Since these operations have nothing in common, this patch adds a different struct member to keep the