Commit 33d81af4 authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent df1ef7a3
...@@ -582,13 +582,13 @@ struct snd_soc_dai wm8974_dai = { ...@@ -582,13 +582,13 @@ struct snd_soc_dai wm8974_dai = {
.playback = { .playback = {
.stream_name = "Playback", .stream_name = "Playback",
.channels_min = 1, .channels_min = 1,
.channels_max = 1, .channels_max = 2, /* Only 1 channel of data */
.rates = WM8974_RATES, .rates = WM8974_RATES,
.formats = WM8974_FORMATS,}, .formats = WM8974_FORMATS,},
.capture = { .capture = {
.stream_name = "Capture", .stream_name = "Capture",
.channels_min = 1, .channels_min = 1,
.channels_max = 1, .channels_max = 2, /* Only 1 channel of data */
.rates = WM8974_RATES, .rates = WM8974_RATES,
.formats = WM8974_FORMATS,}, .formats = WM8974_FORMATS,},
.ops = &wm8974_ops, .ops = &wm8974_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment