Commit f34762b6 authored by Graeme Gregory's avatar Graeme Gregory Committed by Mark Brown

ASoC: pxa-ssp increase max_channels to 8

When running in TDM mode there can be more than 2 channels used. Datasheet has
figures for upto 8 channels so increase max_channels on all SSP interfaces to
this figure.
Signed-off-by: default avatarGraeme Gregory <dp@xora.org.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2c9ee33d
...@@ -760,13 +760,13 @@ struct snd_soc_dai pxa_ssp_dai[] = { ...@@ -760,13 +760,13 @@ struct snd_soc_dai pxa_ssp_dai[] = {
.resume = pxa_ssp_resume, .resume = pxa_ssp_resume,
.playback = { .playback = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
.capture = { .capture = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
...@@ -780,13 +780,13 @@ struct snd_soc_dai pxa_ssp_dai[] = { ...@@ -780,13 +780,13 @@ struct snd_soc_dai pxa_ssp_dai[] = {
.resume = pxa_ssp_resume, .resume = pxa_ssp_resume,
.playback = { .playback = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
.capture = { .capture = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
...@@ -801,13 +801,13 @@ struct snd_soc_dai pxa_ssp_dai[] = { ...@@ -801,13 +801,13 @@ struct snd_soc_dai pxa_ssp_dai[] = {
.resume = pxa_ssp_resume, .resume = pxa_ssp_resume,
.playback = { .playback = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
.capture = { .capture = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
...@@ -822,13 +822,13 @@ struct snd_soc_dai pxa_ssp_dai[] = { ...@@ -822,13 +822,13 @@ struct snd_soc_dai pxa_ssp_dai[] = {
.resume = pxa_ssp_resume, .resume = pxa_ssp_resume,
.playback = { .playback = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
.capture = { .capture = {
.channels_min = 1, .channels_min = 1,
.channels_max = 2, .channels_max = 8,
.rates = PXA_SSP_RATES, .rates = PXA_SSP_RATES,
.formats = PXA_SSP_FORMATS, .formats = PXA_SSP_FORMATS,
}, },
......
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