summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2017-02-20 15:44:40 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-08 21:00:13 +0800
commitba7e7690173e841e59711f73080549245abeba41 (patch)
tree0f1c369252fc4782360b7b5620769085c29328c9 /sound
parentd3f37ff2db3a772dcb4cc91ef23cdf00feda5aa1 (diff)
MLK-14007: ASoC: fsl_rpmsg_i2s: remove mono for M4 don't support it
Currently the M4 audio driver don't support mono channel, so remove it. After mono channel is supported in M4 os, this commit should be reverted. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_rpmsg_i2s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_rpmsg_i2s.c b/sound/soc/fsl/fsl_rpmsg_i2s.c
index d8f8da8dbf23..10c917ef66fd 100644
--- a/sound/soc/fsl/fsl_rpmsg_i2s.c
+++ b/sound/soc/fsl/fsl_rpmsg_i2s.c
@@ -71,14 +71,14 @@ static int i2s_send_message(struct i2s_rpmsg_s *msg,
static struct snd_soc_dai_driver fsl_rpmsg_i2s_dai = {
.playback = {
.stream_name = "CPU-Playback",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = FSL_RPMSG_I2S_RATES,
.formats = FSL_RPMSG_I2S_FORMATS,
},
.capture = {
.stream_name = "CPU-Capture",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = FSL_RPMSG_I2S_RATES,
.formats = FSL_RPMSG_I2S_FORMATS,