RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-23 Thread Boojin Kim
gt;> s...@vger.kernel.org; Vinod Koul; Kukjin Kim; Dan Williams; Mark > Brown; > >> Grant Likely; Russell King > >> Subject: Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability > >> > >> On Mon, Aug 22, 2011 at 5:33 PM, Boojin Kim > &

Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-23 Thread Jassi Brar
m; Dan Williams; Mark Brown; >> Grant Likely; Russell King >> Subject: Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability >> >> On Mon, Aug 22, 2011 at 5:33 PM, Boojin Kim >> wrote: >> >> >> >> > +static struct dma_async_tx_descript

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-23 Thread Boojin Kim
Jassi Brar [mailto:jassisinghb...@gmail.com] > Sent: Tuesday, August 23, 2011 2:42 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; Vinod Koul; Kukjin Kim; Dan Williams; Mark Brown; > Grant Likely; Russell King > Subject: R

Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Jassi Brar
On Mon, Aug 22, 2011 at 5:33 PM, Boojin Kim wrote: >> >> > +static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic( >> > +               struct dma_chan *chan, dma_addr_t dma_addr, size_t len, >> > +               size_t period_len, enum dma_data_direction direction) >> > +{ >> > +       str

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Boojin Kim
Jassi Brar wrote: > > > @@ -324,6 +362,9 @@ static void pl330_free_chan_resources(struct > dma_chan *chan) > >pl330_release_channel(pch->pl330_chid); > >pch->pl330_chid = NULL; > > > > + if (pch->cyclic) > > + list_splice_tail_init(&pch->work_list, &pch->dmac- >

Re: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Jassi Brar
On Fri, Aug 19, 2011 at 2:24 PM, Boojin Kim wrote: > @@ -324,6 +362,9 @@ static void pl330_free_chan_resources(struct dma_chan > *chan) >        pl330_release_channel(pch->pl330_chid); >        pch->pl330_chid = NULL; > > +       if (pch->cyclic) > +               list_splice_tail_init(&pch->wor