projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a874c
)
ASoC: fsl_rpmsg: Multi-channel support in CPU DAI driver
author
Chancel Liu
<chancel.liu@nxp.com>
Fri, 30 Sep 2022 06:44:40 +0000
(14:44 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 17 Oct 2022 11:48:17 +0000
(12:48 +0100)
Some sound card based on rpmsg may support multi-channel. This patch
expands the maximum channels to 32.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link:
https://lore.kernel.org/r/20220930064441.2548505-7-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_rpmsg.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_rpmsg.c
b/sound/soc/fsl/fsl_rpmsg.c
index fde3d5006ce0d2dcaebc25063afc9ce2bd4fcd9e..46c7868a2653763d2f4e256defe9369c315cbe53 100644
(file)
--- a/
sound/soc/fsl/fsl_rpmsg.c
+++ b/
sound/soc/fsl/fsl_rpmsg.c
@@
-117,14
+117,14
@@
static struct snd_soc_dai_driver fsl_rpmsg_dai = {
.playback = {
.stream_name = "CPU-Playback",
.channels_min = 2,
- .channels_max = 2,
+ .channels_max =
3
2,
.rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_RPMSG_FORMATS,
},
.capture = {
.stream_name = "CPU-Capture",
.channels_min = 2,
- .channels_max = 2,
+ .channels_max =
3
2,
.rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_RPMSG_FORMATS,
},