Re: [PATCH 7/7] dmaengine: omap-dma: Support for LinkedList transfer of slave_sg

2016-07-18 Thread Peter Ujfalusi
On 07/18/16 13:42, Russell King - ARM Linux wrote: > On Thu, Jul 14, 2016 at 03:42:42PM +0300, Peter Ujfalusi wrote: >> struct omap_desc { >> +struct omap_chan *c; >> struct virt_dma_desc vd; > > No need for this. to_omap_dma_chan(foo->vd.tx.chan) will give you the > omap_chan for the d

Re: [PATCH 7/7] dmaengine: omap-dma: Support for LinkedList transfer of slave_sg

2016-07-18 Thread Russell King - ARM Linux
On Thu, Jul 14, 2016 at 03:42:42PM +0300, Peter Ujfalusi wrote: > struct omap_desc { > + struct omap_chan *c; > struct virt_dma_desc vd; No need for this. to_omap_dma_chan(foo->vd.tx.chan) will give you the omap_chan for the descriptor. In any case, I question whether you actually nee