Re: [Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Andy Gross
On Tue, Feb 04, 2014 at 12:58:25PM +0100, Lars-Peter Clausen wrote: > On 02/04/2014 12:04 AM, Andy Gross wrote: > [...] > >+static int bam_dma_remove(struct platform_device *pdev) > >+{ > >+struct bam_device *bdev = platform_get_drvdata(pdev); > >+u32 i; > >+ > >+dma_async_device_unregi

Re: [Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Lars-Peter Clausen
On 02/04/2014 12:04 AM, Andy Gross wrote: [...] +static int bam_dma_remove(struct platform_device *pdev) +{ + struct bam_device *bdev = platform_get_drvdata(pdev); + u32 i; + + dma_async_device_unregister(&bdev->common); + of_dma_controller_free(pdev->dev.of_node); The c

[Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-03 Thread Andy Gross
Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. Each BAM DMA device is associated with a specific on-chip peripheral. Each channel provides a uni-directional data transfer engine that is capable of transferring data between the perip