linux/sound/soc/sh
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
..
rcar ASoC: rsnd: SSI parent cares SWSP bit 2018-06-18 12:26:43 +01:00
dma-sh7760.c ASoC: sh: dma-sh7760: replace platform to component 2018-02-12 11:45:14 +00:00
fsi.c ASoC: sh: fsi: replace platform to component 2018-02-12 11:45:15 +00:00
hac.c ASoC: sh: hac: add missing "int ret" 2017-07-24 13:06:53 +01:00
Kconfig ASoC: sh: Update menu title and platform dependency 2018-04-20 17:52:49 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
migor.c ASoC: sh: make snd_soc_ops const 2017-08-17 18:09:48 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu_dai.c ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
siu_pcm.c ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
siu.h ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00