ASoC: ABE DAI: support 2 channels for MODEM DAI
MODEM DAI needs to support 2 channels for dual-mic on capture
and to set the McBSP interface as I2S.
Signed-off-by: Francois Mazard <f-mazard@ti.com>
diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c
index 3415efe..dc0e441 100644
--- a/sound/soc/omap/omap-abe.c
+++ b/sound/soc/omap/omap-abe.c
@@ -1181,14 +1181,14 @@
.playback = {
.stream_name = "Voice Playback",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
.formats = OMAP_ABE_FORMATS | SNDRV_PCM_FMTBIT_S16_LE,
},
.capture = {
.stream_name = "Voice Capture",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
.formats = OMAP_ABE_FORMATS | SNDRV_PCM_FMTBIT_S16_LE,
},