diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 20:01:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 20:34:16 +0200 |
commit | 33d81af4d12fc8863247abba1c1d706b462e89d0 (patch) | |
tree | 696ac215b89f6a063ec2f5470ef2256af0a8c002 /sound/soc/codecs/wm8974.c | |
parent | ASoC: Refresh WM8974 bias configuration (diff) | |
download | linux-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.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, |