From 96cb200321a5031ff865971edc7a4f2825eeeab5 Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Mon, 19 Apr 2021 09:33:28 +0800 Subject: [PATCH] ASoC: es7202: Fix the channels_max during the different macro ES7202_CHANNELS_MAX Signed-off-by: Xing Zheng Change-Id: I4fa60f70aec0451b004b21022c6ee96db9e9419e --- sound/soc/codecs/es7202.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/codecs/es7202.c b/sound/soc/codecs/es7202.c index bed7dd0888c9..db1c2a857dc0 100644 --- a/sound/soc/codecs/es7202.c +++ b/sound/soc/codecs/es7202.c @@ -568,7 +568,7 @@ static struct snd_soc_dai_driver es7202_dai1 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 4, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -582,7 +582,7 @@ static struct snd_soc_dai_driver es7202_dai2 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 6, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -596,7 +596,7 @@ static struct snd_soc_dai_driver es7202_dai3 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 8, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -610,7 +610,7 @@ static struct snd_soc_dai_driver es7202_dai4 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 10, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -624,7 +624,7 @@ static struct snd_soc_dai_driver es7202_dai5 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 12, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -638,7 +638,7 @@ static struct snd_soc_dai_driver es7202_dai6 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 14, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, @@ -652,7 +652,7 @@ static struct snd_soc_dai_driver es7202_dai7 = { .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 2, + .channels_max = 16, .rates = es7202_RATES, .formats = SNDRV_PCM_FMTBIT_S16_LE, },