From 3612d5be22cdbef9b04782e7344c4da252eb31a2 Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Tue, 4 Dec 2018 17:03:20 +0200 Subject: [PATCH] MLK-17817-2: ASoC: imx-ak4458: enable 16 channels in TDM mode In TDM mode with Daisy Chain enabled (CPLD mode 0x04) DAC1 and DAC2 AK4458 codecs on audio board are able to play 16 channels, so extend the TDM mode constraint to 16 channels. Signed-off-by: Viorel Suman (cherry picked from commit bc8b6a74175c2d120383875b00b5a2a44def9dd0) --- sound/soc/fsl/imx-ak4458.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/imx-ak4458.c b/sound/soc/fsl/imx-ak4458.c index 6628f8c12e51..20a1ef0fadd6 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, + 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, }; static unsigned long ak4458_get_mclk_rate(struct snd_pcm_substream *substream,