linux/sound/soc/sh/rcar
Jiada Wang d10be65f87
ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address
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: 5e45a6fab3 ("ASoc: rsnd: dma: Calculate dma address with consider of BUSIF")
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
[erosca: minor improvements in commit description]
Cc: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Cc: stable@vger.kernel.org # v4.20+
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20191022185429.12769-1-erosca@de.adit-jv.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-10-23 18:20:55 +01:00
..
adg.c ASoC: rsnd: don't call clk_get_rate() under atomic context 2019-08-07 14:17:47 +01:00
cmd.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
core.c ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting 2019-10-18 18:08:34 +01:00
ctu.c ASoC: rsnd: fixup mod ID calculation in rsnd_ctu_probe_ 2019-06-18 19:17:39 +01:00
dma.c ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address 2019-10-23 18:20:55 +01:00
dvc.c Merge branch 'for-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-4.21 intel dep 2018-12-13 14:36:46 +00:00
gen.c ASoC: rsnd: gen: fix SSI9 4/5/6/7 busif related register address 2019-02-26 11:43:18 +00:00
Makefile
mix.c ASoC: rsnd: move .get_status under rsnd_mod_ops 2018-11-05 11:27:29 +00:00
rsnd.h ASoC: rsnd: Support hw_free() callback at DAI level 2019-07-23 18:14:13 +01:00
src.c ASoC: rsnd: src: fix compiler warnings 2019-03-11 16:59:04 +00:00
ssi.c ASoC: rsnd: do error check after rsnd_channel_normalization() 2019-09-18 18:29:52 +01:00
ssiu.c ASoC: rsnd: ssiu: tidyup SSI_MODE1/2 settings 2019-06-26 12:28:14 +01:00