ASoC: i.MX: we can do mono
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 4 Nov 2010 16:05:45 +0000 (17:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Nov 2010 13:16:16 +0000 (09:16 -0400)
Whether we can do mono or not depends on the codec. No need
to limit this in the ssi driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/imx-ssi.c

index d2d98c75ee8a42b6e840a61307d8a133d54b93a2..ad21f814e6a1d3b8c2d40c91b8efdb4016fadf91 100644 (file)
@@ -456,13 +456,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 = {
-               .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,