MLK-14007: ASoC: fsl_rpmsg_i2s: remove mono for M4 don't support it
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 20 Feb 2017 07:44:40 +0000 (15:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:45 +0000 (15:10 -0500)
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>
sound/soc/fsl/fsl_rpmsg_i2s.c

index d8f8da8..10c917e 100644 (file)
@@ -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,