]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ASoC: Declare 2 channels for WM8974
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 30 Jun 2009 18:01:52 +0000 (19:01 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 30 Jun 2009 18:34:16 +0000 (19:34 +0100)
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>
sound/soc/codecs/wm8974.c

index c5d47bcd14a0e831617a48514827b1060732d2ae..207fe3f713ed0ea3b41d6adddd4253d81d845d7d 100644 (file)
@@ -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,