Commit f26c1bb8 authored by Chancel Liu's avatar Chancel Liu Committed by Mark Brown

ASoC: fsl_rpmsg: Multi-channel support in CPU DAI driver

Some sound card based on rpmsg may support multi-channel. This patch
expands the maximum channels to 32.
Signed-off-by: default avatarChancel Liu <chancel.liu@nxp.com>
Acked-by: default avatarShengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220930064441.2548505-7-chancel.liu@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 76a874ca
...@@ -117,14 +117,14 @@ static struct snd_soc_dai_driver fsl_rpmsg_dai = { ...@@ -117,14 +117,14 @@ static struct snd_soc_dai_driver fsl_rpmsg_dai = {
.playback = { .playback = {
.stream_name = "CPU-Playback", .stream_name = "CPU-Playback",
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 32,
.rates = SNDRV_PCM_RATE_KNOT, .rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_RPMSG_FORMATS, .formats = FSL_RPMSG_FORMATS,
}, },
.capture = { .capture = {
.stream_name = "CPU-Capture", .stream_name = "CPU-Capture",
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 32,
.rates = SNDRV_PCM_RATE_KNOT, .rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_RPMSG_FORMATS, .formats = FSL_RPMSG_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