Commit 0bc47b31 authored by Shengjiu Wang's avatar Shengjiu Wang

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 8d298743 ("MLK-17817-2: ASoC: imx-ak4458: enable 16
channels in TDM mode")
Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
parent 31def064
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment