Re: [PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Andrew Bresticker
On Thu, Nov 13, 2014 at 3:14 PM, Arnd Bergmann wrote: > On Thursday 13 November 2014 15:07:06 Andrew Bresticker wrote: >> On Thu, Nov 13, 2014 at 2:13 PM, Arnd Bergmann wrote: >> > On Thursday 13 November 2014 12:58:08 Andrew Bresticker wrote: >> >> + >> >> +static bool mdc_filter_fn(struct dma_c

Re: [PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Arnd Bergmann
On Thursday 13 November 2014 15:07:06 Andrew Bresticker wrote: > On Thu, Nov 13, 2014 at 2:13 PM, Arnd Bergmann wrote: > > On Thursday 13 November 2014 12:58:08 Andrew Bresticker wrote: > >> + > >> +static bool mdc_filter_fn(struct dma_chan *chan, void *fn_param) > >> +{ > >> + struct mdc_fi

Re: [PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Andrew Bresticker
On Thu, Nov 13, 2014 at 2:13 PM, Arnd Bergmann wrote: > On Thursday 13 November 2014 12:58:08 Andrew Bresticker wrote: >> + >> +static bool mdc_filter_fn(struct dma_chan *chan, void *fn_param) >> +{ >> + struct mdc_filter_data *data = fn_param; >> + struct mdc_chan *mchan; >> + >> +

Re: [PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Arnd Bergmann
On Thursday 13 November 2014 12:58:08 Andrew Bresticker wrote: > + > +static bool mdc_filter_fn(struct dma_chan *chan, void *fn_param) > +{ > + struct mdc_filter_data *data = fn_param; > + struct mdc_chan *mchan; > + > + if (chan->device->dev->driver == &mdc_dma_driver.driver) { >

[PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Andrew Bresticker
Add support for the IMG Multi-threaded DMA Controller (MDC) found on certain IMG SoCs. Currently this driver supports the variant present on the MIPS-based Pistachio SoC. Signed-off-by: Andrew Bresticker --- drivers/dma/Kconfig |9 + drivers/dma/Makefile |1 + drivers/dma/img