Re: [PATCH v2] dmaengine: at_xdmac: rework slave configuration part

2015-06-03 Thread Ludovic Desroches
On Tue, Jun 02, 2015 at 06:52:08PM +0530, Vinod Koul wrote: > On Mon, Jun 01, 2015 at 05:40:48PM +0200, Ludovic Desroches wrote: > > @@ -604,16 +636,18 @@ at_xdmac_prep_slave_sg(struct dma_chan *chan, struct > > scatterlist *sgl, > > return NULL; > > } > > > > +

Re: [PATCH v2] dmaengine: at_xdmac: rework slave configuration part

2015-06-02 Thread Vinod Koul
On Mon, Jun 01, 2015 at 05:40:48PM +0200, Ludovic Desroches wrote: > @@ -604,16 +636,18 @@ at_xdmac_prep_slave_sg(struct dma_chan *chan, struct > scatterlist *sgl, > return NULL; > } > > + if (at_xdmac_compute_chan_conf(chan, direction)) > +

[PATCH v2] dmaengine: at_xdmac: rework slave configuration part

2015-06-01 Thread Ludovic Desroches
Rework slave configuration part in order to no more report wrong errors about the configuration. Only maxburst and addr width values are checked when doing the slave configuration. The validity of the channel configuration is done at prepare time. Signed-off-by: Ludovic Desroches Cc: sta...@vger.