summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-cdnhdmi.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2020-04-29 17:48:56 +0800
committerShengjiu Wang <shengjiu.wang@nxp.com>2020-04-29 18:35:51 +0800
commitfe01a5d14bf2d8e49e9a6eeccfd3b9c2f9757a08 (patch)
tree62438255684a12a093e72f385c1405bc50a74af0 /sound/soc/fsl/imx-cdnhdmi.c
parent326442c3276b2e852fb147cd752b62ab7de81ad2 (diff)
MLK-23642-3: ASoC: fsl: imx-cdnhdmi: support 6 channels
Add support 6 channels Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-cdnhdmi.c')
-rw-r--r--sound/soc/fsl/imx-cdnhdmi.c5
1 files 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);