From d415bb552fc1e2f83014e0170b82536e0ce9f336 Mon Sep 17 00:00:00 2001 From: Renjun Xu Date: Thu, 4 Apr 2019 15:08:50 +0800 Subject: [PATCH] audio: fixed the issue of PDM 16 channel capture. [1/1] PD#SWPL-5551 Problem: cannot capture 8PDM + 8LOOPBACK. Solution: PDM cannot support 8PDM + 8LOOPBACK. Verify: s420/s400, verify pass Change-Id: Iaf38bdcb218ebfc024666312162569cab93a76a9 Signed-off-by: Renjun Xu --- sound/soc/amlogic/auge/pdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amlogic/auge/pdm.c b/sound/soc/amlogic/auge/pdm.c index 744bc97..72540b4 100644 --- a/sound/soc/amlogic/auge/pdm.c +++ b/sound/soc/amlogic/auge/pdm.c @@ -943,7 +943,7 @@ struct snd_soc_dai_driver aml_pdm_dai[] = { .name = "PDM", .capture = { .channels_min = PDM_CHANNELS_MIN, - .channels_max = PDM_CHANNELS_MAX, + .channels_max = PDM_CHANNELS_LB_MAX, .rates = PDM_RATES, .formats = PDM_FORMATS, }, -- 2.7.4