ASoC: es7202: Fix the channels_max during the different macro ES7202_CHANNELS_MAX

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I4fa60f70aec0451b004b21022c6ee96db9e9419e
This commit is contained in:
Xing Zheng
2021-04-19 09:33:28 +08:00
committed by Tao Huang
parent c7642a3dbc
commit 96cb200321

View File

@@ -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,
},