aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 19:01:52 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 19:34:16 +0100
commit33d81af4d12fc8863247abba1c1d706b462e89d0 (patch)
tree696ac215b89f6a063ec2f5470ef2256af0a8c002
parentdf1ef7a38db21a92239c775a28f0c69124c9b454 (diff)
ASoC: Declare 2 channels for WM8974
The device is a mono device but it can read two channel data and many I2S controllers only understand 2 channels. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/wm8974.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index c5d47bcd14a..207fe3f713e 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -582,13 +582,13 @@ struct snd_soc_dai wm8974_dai = {
.playback = {
.stream_name = "Playback",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2, /* Only 1 channel of data */
.rates = WM8974_RATES,
.formats = WM8974_FORMATS,},
.capture = {
.stream_name = "Capture",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2, /* Only 1 channel of data */
.rates = WM8974_RATES,
.formats = WM8974_FORMATS,},
.ops = &wm8974_ops,