[alsa-devel] [PATCH] ASoC: rsnd: add missing src/dst_addr_width for DMAEngine
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Jul 22 15:15:27 CEST 2014
Hi Morimoto-san,
Thank you for the patch.
On Wednesday 16 July 2014 23:18:44 Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
>
> Renesas new DMAEngine driver requests src/dst_addr_width
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>
> >> Laurent
>
> Could you please check and give your Ack to this patch?
>
> sound/soc/sh/rcar/core.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
> index 907d480..c48d999 100644
> --- a/sound/soc/sh/rcar/core.c
> +++ b/sound/soc/sh/rcar/core.c
> @@ -338,6 +338,8 @@ int rsnd_dma_init(struct rsnd_priv *priv, struct
> rsnd_dma *dma, cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM;
> cfg.src_addr = rsnd_gen_dma_addr(priv, mod_from, is_play, 1);
> cfg.dst_addr = rsnd_gen_dma_addr(priv, mod_to, is_play, 0);
> + cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
> + cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
>
> dev_dbg(dev, "dma : %s %pad -> %pad\n",
> dma_name, &cfg.src_addr, &cfg.dst_addr);
--
Regards,
Laurent Pinchart
More information about the Alsa-devel
mailing list