From: Peter Ujfalusi Date: Thu, 15 Sep 2011 12:59:18 +0000 (+0300) Subject: ASoC: twl6040: Fix the number of channels for vibra X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d8dd032d533719cbaae2de6ca6dcc5553af3034e;p=~shefty%2Frdma-dev.git ASoC: twl6040: Fix the number of channels for vibra Only mono audio can be used for vibra (DL4 channel). Signed-off-by: Peter Ujfalusi Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 987d9c9c9df..97f3e374fc6 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, },