diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2019-03-13 16:29:45 +0800 |
---|---|---|
committer | Shengjiu Wang <shengjiu.wang@nxp.com> | 2019-12-04 12:50:54 +0800 |
commit | 533604f38375f437cdf11ad79d048afb3e12096a (patch) | |
tree | 65d8ee2461668497fd46622d923a84cb8f2cba03 /sound/soc/fsl/imx-ak4458.c | |
parent | 2218ef087f156e7d661732c178b1bda5fb3e20c7 (diff) |
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 <shengjiu.wang@nxp.com>
(cherry picked from commit 0bc47b31660efd3dbbeee7e51fca6f75e7ecb69f)
Diffstat (limited to 'sound/soc/fsl/imx-ak4458.c')
-rw-r--r-- | sound/soc/fsl/imx-ak4458.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |