[alsa-devel] [RESEND PATCH] ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address

Eugeniu Rosca erosca at de.adit-jv.com
Wed Oct 23 11:55:45 CEST 2019


Hi Morimoto-san,

On Wed, Oct 23, 2019 at 09:51:36AM +0900, Kuninori Morimoto wrote:
> 
> Hi
> 
> > From: Jiada Wang <jiada_wang at mentor.com>
> > 
> > Currently each SSI unit's busif dma address is calculated by
> > following calculation formula:
> > 0xec540000 + 0x1000 * id + busif / 4 * 0xA000 + busif % 4 * 0x400
> > 
> > But according to R-Car3 HW manual 41.1.4 Register Configuration,
> > ssi9 4/5/6/7 busif data register address
> > (SSI9_4_BUSIF/SSI9_5_BUSIF/SSI9_6_BUSIF/SSI9_7_BUSIF)
> > are out of this rule.
> > 
> > This patch updates the calculation formula to correct
> > ssi9 4/5/6/7 busif data register address.
> > 
> > Fixes: 5e45a6fab3b9 ("ASoc: rsnd: dma: Calculate dma address with consider of BUSIF")
> > Signed-off-by: Jiada Wang <jiada_wang at mentor.com>
> > Signed-off-by: Timo Wischer <twischer at de.adit-jv.com>
> > [erosca: minor improvements in commit description]
> > Cc: Andrew Gabbasov <andrew_gabbasov at mentor.com>
> > Cc: stable at vger.kernel.org # v4.20+
> > Signed-off-by: Eugeniu Rosca <erosca at de.adit-jv.com>
> > ---
> 
> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Many thanks for the prompt responses.

-- 
Best Regards,
Eugeniu


More information about the Alsa-devel mailing list