ASoC: wm_adsp: Allow up to 8 channels for voice control
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 19 Jul 2018 10:50:38 +0000 (11:50 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 19 Jul 2018 14:11:55 +0000 (15:11 +0100)
Newer voice control firmwares can capture multiple audio channels.
Allow up to 8 channels for future-proofing.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index eec73c98a141998ab26f40875a03ba72f3b5b46a..aeb1b8c276707a0b8cef68b9b8bb385e70e2f089 100644 (file)
@@ -418,7 +418,7 @@ static const struct wm_adsp_fw_caps ctrl_caps[] = {
        {
                .id = SND_AUDIOCODEC_BESPOKE,
                .desc = {
-                       .max_ch = 1,
+                       .max_ch = 8,
                        .sample_rates = { 16000 },
                        .num_sample_rates = 1,
                        .formats = SNDRV_PCM_FMTBIT_S16_LE,