ASoC: cs4270: Remove mono support
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 18 Sep 2012 16:03:54 +0000 (13:03 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Sep 2012 12:52:42 +0000 (13:52 +0100)
According to cs4270 datasheet, there is no reference to mono mode.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs4270.c

index 815b53bc2d279095b3b7417fa8288ce43aeba375..8e4779812b96c03d11f07ca6a4c47ca628b3295b 100644 (file)
@@ -459,7 +459,7 @@ static struct snd_soc_dai_driver cs4270_dai = {
        .name = "cs4270-hifi",
        .playback = {
                .stream_name = "Playback",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                .rates = SNDRV_PCM_RATE_CONTINUOUS,
                .rate_min = 4000,
@@ -468,7 +468,7 @@ static struct snd_soc_dai_driver cs4270_dai = {
        },
        .capture = {
                .stream_name = "Capture",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                .rates = SNDRV_PCM_RATE_CONTINUOUS,
                .rate_min = 4000,