ASoC: samsung: Allow mono in i2s driver
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 11 Sep 2013 14:27:29 +0000 (15:27 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:42:16 +0000 (00:42 +0100)
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/i2s.c

index b302f3b7a587f3e480586419affc8e300c80ad8d..a7e3519ad7c4698df4c8ce95c4ee572a9bad2577 100644 (file)
@@ -1060,7 +1060,7 @@ static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec)
        i2s->i2s_dai_drv.ops = &samsung_i2s_dai_ops;
        i2s->i2s_dai_drv.suspend = i2s_suspend;
        i2s->i2s_dai_drv.resume = i2s_resume;
-       i2s->i2s_dai_drv.playback.channels_min = 2;
+       i2s->i2s_dai_drv.playback.channels_min = 1;
        i2s->i2s_dai_drv.playback.channels_max = 2;
        i2s->i2s_dai_drv.playback.rates = SAMSUNG_I2S_RATES;
        i2s->i2s_dai_drv.playback.formats = SAMSUNG_I2S_FMTS;