linux-stable/sound/soc/sh/rcar
Nilkanth Ahirrao 9677ee5800 ASoC: rsnd: fix DALIGN register for SSIU
commit ef8e147943 upstream.

The current driver only sets 0x76543210 and 0x67452301 for DALIGN.
This doesn’t work well for TDM split and ex-split mode for all SSIU.
This patch programs the DALIGN registers based on the SSIU number.

Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Jiada Wang <jiada_wang@mentor.com>
Cc: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Fixes: a914e44693 ("ASoC: rsnd: more clear rsnd_get_dalign() for DALIGN")
Signed-off-by: Nilkanth Ahirrao <anilkanth@jp.adit-jv.com>
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/20191121111023.10976-1-erosca@de.adit-jv.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:48:35 +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: fix DALIGN register for SSIU 2020-01-17 19:48:35 +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 ASoC: rsnd: convert to SPDX identifiers 2018-06-18 12:16:46 +01:00
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