ASoC: Intel: avs: Allow for 16 channels configuration

AudioDSP firmware and HDAudio controller support and facilitate audio
formats with up to 16 channels. Reflect that with BE DAIs.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
This commit is contained in:
Cezary Rojewski 2023-08-18 09:59:57 +02:00
parent 8bcb3713a5
commit 9186268466
1 changed files with 4 additions and 4 deletions

View File

@ -1303,7 +1303,7 @@ static const struct snd_soc_dai_driver i2s_dai_template = {
.ops = &avs_dai_nonhda_be_ops,
.playback = {
.channels_min = 1,
.channels_max = 8,
.channels_max = 16,
.rates = SNDRV_PCM_RATE_8000_192000 |
SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
@ -1314,7 +1314,7 @@ static const struct snd_soc_dai_driver i2s_dai_template = {
},
.capture = {
.channels_min = 1,
.channels_max = 8,
.channels_max = 16,
.rates = SNDRV_PCM_RATE_8000_192000 |
SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
@ -1393,7 +1393,7 @@ static const struct snd_soc_dai_driver hda_cpu_dai = {
.ops = &avs_dai_hda_be_ops,
.playback = {
.channels_min = 1,
.channels_max = 8,
.channels_max = 16,
.rates = SNDRV_PCM_RATE_8000_192000,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S32_LE,
@ -1403,7 +1403,7 @@ static const struct snd_soc_dai_driver hda_cpu_dai = {
},
.capture = {
.channels_min = 1,
.channels_max = 8,
.channels_max = 16,
.rates = SNDRV_PCM_RATE_8000_192000,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S32_LE,