diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-04-25 09:16:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-25 21:41:09 +0300 |
commit | 66287def435315d9d8de740da4c543e37630b897 (patch) | |
tree | de7bdc6b79b039afdd57768322da692588f473f6 /sound/soc/sh/rcar/ssi.c | |
parent | 01c8327667c249818d3712c3e25c7ad2aca7f389 (diff) | |
download | linux-66287def435315d9d8de740da4c543e37630b897.tar.xz |
ASoC: rsnd: fixup 6ch settings to 8ch
rsnd need to use 8ch clock settings for 6ch for TDM.
Otherwise, it can't work correctly.
This patch fixup it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ssi.c')
-rw-r--r-- | sound/soc/sh/rcar/ssi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c index f5afab631abb..44bda210256e 100644 --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c @@ -303,6 +303,8 @@ static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, if (rsnd_runtime_is_tdm_split(io)) chan = rsnd_io_converted_chan(io); + chan = rsnd_channel_normalization(chan); + main_rate = rsnd_ssi_clk_query(rdai, rate, chan, &idx); if (!main_rate) { dev_err(dev, "unsupported clock rate\n"); |