From 533604f38375f437cdf11ad79d048afb3e12096a Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 13 Mar 2019 16:29:45 +0800 Subject: MLK-21106: ASoC: imx-ak4458: Fix channel not supported in tdm & daisy chain The channel num (9 - 15) should not be supported in tdm & daisy chain mode for there is two dataline, this channel number can't be symmetrically distributed on two dataline (the first one is fixed to be 8 channel) Fixes commit 8d29874365c3 ("MLK-17817-2: ASoC: imx-ak4458: enable 16 channels in TDM mode") Signed-off-by: Shengjiu Wang (cherry picked from commit 0bc47b31660efd3dbbeee7e51fca6f75e7ecb69f) --- sound/soc/fsl/imx-ak4458.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/fsl/imx-ak4458.c') diff --git a/sound/soc/fsl/imx-ak4458.c b/sound/soc/fsl/imx-ak4458.c index 08a437d5f89b..9605d9d74af6 100644 --- a/sound/soc/fsl/imx-ak4458.c +++ b/sound/soc/fsl/imx-ak4458.c @@ -98,7 +98,7 @@ static const u32 ak4458_channels[] = { }; static const u32 ak4458_channels_tdm[] = { - 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 1, 2, 3, 4, 5, 6, 7, 8, 16, }; static unsigned long ak4458_get_mclk_rate(struct snd_pcm_substream *substream, -- cgit v1.2.3