]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: tidyup SSICR::SWSP for TDM
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 17 Oct 2018 01:55:57 +0000 (01:55 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Oct 2018 19:01:31 +0000 (20:01 +0100)
commit79fd6d2a3b517fac97d01a6d5ac94837d9d94e79
tree88515248216bd5eaa00c5b9fed6db7c82e3ddcba
parent0f3cf9161cd1d220719f5ed6eaf4bad6e3c00a84
ASoC: rsnd: tidyup SSICR::SWSP for TDM

R-Car datasheet is indicating that WS output settings of SSICR::SWSP
is inverted on TDM mode from non TDM mode settings.
But, it is meaning that TDM should use 0 here.
Without this patch, sound input/output 1ch will be 2ch, 2ch will be 3ch
..., be jumbled on I2S + TDM settings. This patch fixup it.
This patch is tested on R-Car H3 ulcb-kf board, SSI3/4 TDM sound.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c