diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 14:01:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-30 14:34:16 -0400 |
commit | 33d81af4d12fc8863247abba1c1d706b462e89d0 (patch) | |
tree | 696ac215b89f6a063ec2f5470ef2256af0a8c002 /sound/soc/codecs/wm8974.c | |
parent | df1ef7a38db21a92239c775a28f0c69124c9b454 (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>
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 = { | |||
582 | .playback = { | 582 | .playback = { |
583 | .stream_name = "Playback", | 583 | .stream_name = "Playback", |
584 | .channels_min = 1, | 584 | .channels_min = 1, |
585 | .channels_max = 1, | 585 | .channels_max = 2, /* Only 1 channel of data */ |
586 | .rates = WM8974_RATES, | 586 | .rates = WM8974_RATES, |
587 | .formats = WM8974_FORMATS,}, | 587 | .formats = WM8974_FORMATS,}, |
588 | .capture = { | 588 | .capture = { |
589 | .stream_name = "Capture", | 589 | .stream_name = "Capture", |
590 | .channels_min = 1, | 590 | .channels_min = 1, |
591 | .channels_max = 1, | 591 | .channels_max = 2, /* Only 1 channel of data */ |
592 | .rates = WM8974_RATES, | 592 | .rates = WM8974_RATES, |
593 | .formats = WM8974_FORMATS,}, | 593 | .formats = WM8974_FORMATS,}, |
594 | .ops = &wm8974_ops, | 594 | .ops = &wm8974_ops, |