[PATCH v2 1/2] mmc: atmel-mci: DMA can be used with other controller

Chris Ball cjb at laptop.org
Wed Sep 19 01:15:48 EDT 2012


Hi Hein,

On Thu, Aug 30 2012, Hein Tibosch wrote:
> After the latest changes to atmel-mci, it could not be used with
> DMA on the AVR32 platform. This patch will allow to use DMA again
> and it will avoid access to MCI register ATMCI_DMA.
>
> v2:
> Even if the IP version is lower than v3xx and doesn't have the DMA
> configuration register, DMA transfers can be used with a different
> controller than the Atmel AHB DMA one. For instance, some AVR chips use 
> the Synopsys DesignWare AHB DMA controller.
>
> v2: in atmci_configure_dma: check both pdata and pdata->dma_slave
>
>
> Signed-off-by: Hein Tibosch <hein_tibosch at yahoo.es>
> Acked-by: Ludovic Desroches <ludovic.desroches at atmel.com>
> ---
>  drivers/mmc/host/atmel-mci.c |   26 +++++++++++++-------------
>  1 files changed, 13 insertions(+), 13 deletions(-)

Thanks, pushed to mmc-next for 3.7.

(For the future, please put the patch changelog below the "---" instead
of above it; that way it doesn't go into the git commit history.)

- Chris.
-- 
Chris Ball   <cjb at laptop.org>   <http://printf.net/>
One Laptop Per Child



More information about the linux-arm-kernel mailing list