summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8974.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 20:01:52 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-30 20:34:16 +0200
commit33d81af4d12fc8863247abba1c1d706b462e89d0 (patch)
tree696ac215b89f6a063ec2f5470ef2256af0a8c002 /sound/soc/codecs/wm8974.c
parentASoC: Refresh WM8974 bias configuration (diff)
downloadlinux-33d81af4d12fc8863247abba1c1d706b462e89d0.tar.xz
linux-33d81af4d12fc8863247abba1c1d706b462e89d0.zip
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>
Diffstat (limited to 'sound/soc/codecs/wm8974.c')
-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 c5d47bcd14a0..207fe3f713ed 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,