ASoC: Revert 'ASoC: imx-ssi: Remove mono support'
authorJavier Martin <javier.martin@vista-silicon.com>
Thu, 6 Sep 2012 00:30:10 +0000 (21:30 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Sep 2012 00:44:21 +0000 (08:44 +0800)
Revert 0865a75(ASoC: imx-ssi: Remove mono support).

The bug this patch is meant to solve doesn't occur in Visstrim_M10 boards.
Furthermore, after applying this patch sound in Visstrim_M10 is played
at slower rates.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/imx-ssi.c

index 7074ae6899844078ec9e57331f75f9412034c2de..3c520c46fa4a040086ac500173ae24d5096ee28b 100644 (file)
@@ -380,14 +380,13 @@ static int imx_ssi_dai_probe(struct snd_soc_dai *dai)
 static struct snd_soc_dai_driver imx_ssi_dai = {
        .probe = imx_ssi_dai_probe,
        .playback = {
-               /* The SSI does not support monaural audio. */
-               .channels_min = 2,
+               .channels_min = 1,
                .channels_max = 2,
                .rates = SNDRV_PCM_RATE_8000_96000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,
        },
        .capture = {
-               .channels_min = 2,
+               .channels_min = 1,
                .channels_max = 2,
                .rates = SNDRV_PCM_RATE_8000_96000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,