linux/sound/soc/sh/rcar
Kuninori Morimoto 203cdf51f2
ASoC: rsnd: SSI parent cares SWSP bit
SSICR has SWSP bit (= Serial WS Polarity) which decides WS pin 1st
channel polarity (low or hi). This bit shouldn't exchange after running.

Current SSI "parent" doesn't care SSICR, just controls clock only.
Because of this behavior, if platform uses SSI0 as playback,
SSI1 as capture, and if user starts capture -> playback order,
SSI0 SSICR::SWSP bit exchanged 0 -> 1 during captureing, and it makes
capture noise.
This patch cares SSICR on SSI parent, too.
Special thanks to Yokoyama-san

Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-06-18 12:26:43 +01:00
..
adg.c ASoC: rsnd: fixup ADG register mask 2017-12-20 10:49:06 +00:00
cmd.c ASoC: rsnd: makes rsnd_cmd_mod_get() static 2018-04-16 11:53:44 +01:00
core.c ASoC: rsnd: has .symmetric_rates if SSIs are sharing WS pin 2018-06-18 12:26:42 +01:00
ctu.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
dma.c ASoC: rsnd: Enable IPMMU v2 2018-04-16 12:38:01 +01:00
dvc.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
gen.c ASoC: rsnd: add RSND_GEN3 for R-Car Gen3 2018-04-16 11:53:50 +01:00
Makefile ASoC: rsrc-card: rename rsrc-card to simple-scu-card phase3 2016-08-24 11:19:16 +01:00
mix.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
rsnd.h ASoC: rsnd: Enable IPMMU v2 2018-04-16 12:38:01 +01:00
src.c ASoC: rsnd: indicate IRQ error status for debug 2018-02-13 11:58:22 +00:00
ssi.c ASoC: rsnd: SSI parent cares SWSP bit 2018-06-18 12:26:43 +01:00
ssiu.c ASoC: rsnd: ssiu: clear SSI_MODE for non TDM Extended modes 2017-11-28 11:52:52 +00:00