[PATCH 1/7] DMAENGINE: add generic PrimeCell interface to COH 901 318 v6

Dan Williams dan.j.williams at intel.com
Tue May 11 12:37:42 EDT 2010


On Sun, May 2, 2010 at 5:54 PM, Linus Walleij
<linus.walleij at stericsson.com> wrote:
> This extends the DMA engine driver for the COH 901 318 used in the
> U300 platform with the generic PrimeCell interface.
>
> Signed-off-by: Linus Walleij <linus.walleij at stericsson.com>
> ---
>  drivers/dma/coh901318.c |  146 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 146 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
> index 4233440..1d5ed16 100644
> --- a/drivers/dma/coh901318.c
> +++ b/drivers/dma/coh901318.c
[..]
> +void dma_set_ambaconfig(struct dma_chan *chan,
> +                       struct amba_dma_channel_config *config)

What happens when two primecell dma devices are present on one soc?
Can that happen?  In that case we'll have conflicting providers of
dma_set_ambaconfig().

--
Dan



More information about the linux-arm-kernel mailing list