Re: [PATCH v2] dmaengine: s3c24xx: Add dma_slave_map for s3c2440 devices

2016-09-22 Thread Sam Van Den Berge
On Fri, Sep 16, 2016 at 01:16:31PM +0200, Krzysztof Kozlowski wrote: > On 09/15/2016 09:41 PM, Sam Van Den Berge wrote: > > This patch updates the s3c24xx dma driver to be able to pass a > > dma_slave_map array via the platform data. This is needed to > > be able to use the new, simpler dmaengine A

Re: [PATCH v2] dmaengine: s3c24xx: Add dma_slave_map for s3c2440 devices

2016-09-18 Thread Sam Van Den Berge
On Fri, Sep 16, 2016 at 01:00:12PM +0200, Sylwester Nawrocki wrote: > On 09/15/2016 09:41 PM, Sam Van Den Berge wrote: > > @@ -445,10 +446,44 @@ static struct s3c24xx_dma_channel > > s3c2440_dma_channels[DMACH_MAX] = { > > [DMACH_USB_EP4] = { S3C24XX_DMA_APB, true, S3C24XX_DMA_CHANREQ(4, 3), }

Re: [PATCH v2] dmaengine: s3c24xx: Add dma_slave_map for s3c2440 devices

2016-09-16 Thread Krzysztof Kozlowski
On 09/15/2016 09:41 PM, Sam Van Den Berge wrote: > This patch updates the s3c24xx dma driver to be able to pass a > dma_slave_map array via the platform data. This is needed to > be able to use the new, simpler dmaengine API [1]. > I used the virtual DMA channels as a parameter for the dma_filter >

Re: [PATCH v2] dmaengine: s3c24xx: Add dma_slave_map for s3c2440 devices

2016-09-16 Thread Sylwester Nawrocki
On 09/15/2016 09:41 PM, Sam Van Den Berge wrote: > @@ -445,10 +446,44 @@ static struct s3c24xx_dma_channel > s3c2440_dma_channels[DMACH_MAX] = { > [DMACH_USB_EP4] = { S3C24XX_DMA_APB, true, S3C24XX_DMA_CHANREQ(4, 3), }, > }; > > +static const struct dma_slave_map s3c2440_dma_slave_map[] =