From fe01a5d14bf2d8e49e9a6eeccfd3b9c2f9757a08 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 29 Apr 2020 17:48:56 +0800 Subject: [PATCH] MLK-23642-3: ASoC: fsl: imx-cdnhdmi: support 6 channels Add support 6 channels Signed-off-by: Shengjiu Wang Reviewed-by: Viorel Suman --- sound/soc/fsl/imx-cdnhdmi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/imx-cdnhdmi.c b/sound/soc/fsl/imx-cdnhdmi.c index ad280d7427a8..94e161747329 100644 --- a/sound/soc/fsl/imx-cdnhdmi.c +++ b/sound/soc/fsl/imx-cdnhdmi.c @@ -458,8 +458,9 @@ static int imx_cdnhdmi_probe(struct platform_device *pdev) data->support_channels[0] = 2; data->support_channels[1] = 4; - data->support_channels[2] = 8; - data->support_channels_num = 3; + data->support_channels[2] = 6; + data->support_channels[3] = 8; + data->support_channels_num = 4; of_property_read_u32(pdev->dev.of_node, "protocol", &data->protocol);