OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c27ff4
)
ASoC: twl6040: Fix the number of channels for vibra
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Thu, 15 Sep 2011 12:59:18 +0000
(15:59 +0300)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/twl6040.c
b/sound/soc/codecs/twl6040.c
index
987d9c9
..
97f3e37
100644
(file)
--- 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,
},