Re: [PATCH v2 3/6] dma: Add a jz4740 dmaengine driver

2013-06-11 Thread Vinod Koul
On Mon, Jun 10, 2013 at 07:29:46PM +0200, Lars-Peter Clausen wrote: > On 05/30/2013 08:46 PM, Lars-Peter Clausen wrote: > >>> +static int jz4740_dma_alloc_chan_resources(struct dma_chan *c) > >>> +{ > >>> + struct jz4740_dmaengine_chan *chan = to_jz4740_dma_chan(c); > >>> + > >>> + chan->jz_chan =

Re: [PATCH v2 3/6] dma: Add a jz4740 dmaengine driver

2013-06-10 Thread Lars-Peter Clausen
On 05/30/2013 08:46 PM, Lars-Peter Clausen wrote: >>> +static int jz4740_dma_alloc_chan_resources(struct dma_chan *c) >>> +{ >>> + struct jz4740_dmaengine_chan *chan = to_jz4740_dma_chan(c); >>> + >>> + chan->jz_chan = jz4740_dma_request(chan, NULL); >>> + if (!chan->jz_chan) >>> +

Re: [PATCH v2 3/6] dma: Add a jz4740 dmaengine driver

2013-05-30 Thread Lars-Peter Clausen
On 05/30/2013 07:12 PM, Vinod Koul wrote: > On Thu, May 30, 2013 at 06:25:02PM +0200, Lars-Peter Clausen wrote: >> This patch adds dmaengine support for the JZ4740 DMA controller. For now the >> driver will be a wrapper around the custom JZ4740 DMA API. Once all users of >> the >> custom JZ4740 DM

Re: [PATCH v2 3/6] dma: Add a jz4740 dmaengine driver

2013-05-30 Thread Vinod Koul
On Thu, May 30, 2013 at 06:25:02PM +0200, Lars-Peter Clausen wrote: > This patch adds dmaengine support for the JZ4740 DMA controller. For now the > driver will be a wrapper around the custom JZ4740 DMA API. Once all users of > the > custom JZ4740 DMA API have been converted to the dmaengine API t