aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-09-15 08:59:18 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-19 18:15:59 -0400
commitd8dd032d533719cbaae2de6ca6dcc5553af3034e (patch)
treeea6d88a9308f71ca273d7c2cac92c2c9cc375e2f
parent2c27ff41d8f81fa4967936151ece9fc16db96dce (diff)
ASoC: twl6040: Fix the number of channels for vibra
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>
-rw-r--r--sound/soc/codecs/twl6040.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 987d9c9c9dfd..97f3e374fc67 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1449,8 +1449,8 @@ static struct snd_soc_dai_driver twl6040_dai[] = {
1449 .name = "twl6040-vib", 1449 .name = "twl6040-vib",
1450 .playback = { 1450 .playback = {
1451 .stream_name = "Vibra Playback", 1451 .stream_name = "Vibra Playback",
1452 .channels_min = 2, 1452 .channels_min = 1,
1453 .channels_max = 2, 1453 .channels_max = 1,
1454 .rates = SNDRV_PCM_RATE_CONTINUOUS, 1454 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1455 .formats = TWL6040_FORMATS, 1455 .formats = TWL6040_FORMATS,
1456 }, 1456 },