]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: wm5102: Correct supported channels on trace compressed DAI
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 13 Jun 2016 12:35:16 +0000 (13:35 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jun 2016 14:11:15 +0000 (15:11 +0100)
The audio trace firmware on wm5102 only supports 4 channels correct
the DAI driver structure to reflect this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5102.c

index da60e3fe5ee7afb37740b750e0f15f6156d6a4eb..e7fe6b7b95b7fc8e29b3da06f770c9d52f8bd155 100644 (file)
@@ -1872,7 +1872,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
                .capture = {
                        .stream_name = "Audio Trace CPU",
                        .channels_min = 1,
-                       .channels_max = 6,
+                       .channels_max = 4,
                        .rates = WM5102_RATES,
                        .formats = WM5102_FORMATS,
                },