diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 19:01:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 19:34:16 +0100 |
commit | 33d81af4d12fc8863247abba1c1d706b462e89d0 (patch) | |
tree | 696ac215b89f6a063ec2f5470ef2256af0a8c002 /sound/soc/codecs | |
parent | df1ef7a38db21a92239c775a28f0c69124c9b454 (diff) | |
download | linux-stable-33d81af4d12fc8863247abba1c1d706b462e89d0.tar.gz linux-stable-33d81af4d12fc8863247abba1c1d706b462e89d0.tar.bz2 linux-stable-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')
-rw-r--r-- | sound/soc/codecs/wm8974.c | 4 |
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, |