]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ASoC: twl6040: Fix the number of channels for vibra
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Sep 2011 12:59:18 +0000 (15:59 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 22:15:59 +0000 (23:15 +0100)
Only mono audio can be used for vibra (DL4 channel).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c

index 987d9c9c9dfd76fc3472e69e0ea6455eded97728..97f3e374fc677296d7726785973e318ab1ff8fc1 100644 (file)
@@ -1449,8 +1449,8 @@ static struct snd_soc_dai_driver twl6040_dai[] = {
        .name = "twl6040-vib",
        .playback = {
                .stream_name = "Vibra Playback",
-               .channels_min = 2,
-               .channels_max = 2,
+               .channels_min = 1,
+               .channels_max = 1,
                .rates = SNDRV_PCM_RATE_CONTINUOUS,
                .formats = TWL6040_FORMATS,
        },