summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/twl6040.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-09-15 14:59:18 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-20 00:15:59 +0200
commitd8dd032d533719cbaae2de6ca6dcc5553af3034e (patch)
treeea6d88a9308f71ca273d7c2cac92c2c9cc375e2f /sound/soc/codecs/twl6040.c
parentASoC: twl6040: Use chip defaults in the initial reg_cache (diff)
downloadlinux-d8dd032d533719cbaae2de6ca6dcc5553af3034e.tar.xz
linux-d8dd032d533719cbaae2de6ca6dcc5553af3034e.zip
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>
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-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[] = {
.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,
},