ASoC: fsl_sai: expand the channel_max to 32
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 22 Jul 2016 10:39:38 +0000 (18:39 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:07 +0000 (15:22 -0500)
sai can support 32 channel in maximum.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_sai.c

index a295cee..12c15ab 100644 (file)
@@ -779,7 +779,7 @@ static struct snd_soc_dai_driver fsl_sai_dai = {
        .playback = {
                .stream_name = "CPU-Playback",
                .channels_min = 1,
-               .channels_max = 2,
+               .channels_max = 32,
                .rate_min = 8000,
                .rate_max = 192000,
                .rates = SNDRV_PCM_RATE_KNOT,
@@ -788,7 +788,7 @@ static struct snd_soc_dai_driver fsl_sai_dai = {
        .capture = {
                .stream_name = "CPU-Capture",
                .channels_min = 1,
-               .channels_max = 2,
+               .channels_max = 32,
                .rate_min = 8000,
                .rate_max = 192000,
                .rates = SNDRV_PCM_RATE_KNOT,