ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
authorChancel Liu <chancel.liu@nxp.com>
Tue, 18 Apr 2023 09:42:59 +0000 (17:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 19 Apr 2023 12:42:55 +0000 (13:42 +0100)
SAI on i.MX8QM platform supports the data lines up to 4. So the pins
setting should be corrected to 4.

Fixes: eba0f0077519 ("ASoC: fsl_sai: Enable combine mode soft")
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://lore.kernel.org/r/20230418094259.4150771-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c

index 1b197478b3d90eda6d348852339c6eabdacdb1b5..990bba0be1fb1cb2b8edae47ce9347f27250a6e9 100644 (file)
@@ -1546,7 +1546,7 @@ static const struct fsl_sai_soc_data fsl_sai_imx8qm_data = {
        .use_imx_pcm = true,
        .use_edma = true,
        .fifo_depth = 64,
-       .pins = 1,
+       .pins = 4,
        .reg_offset = 0,
        .mclk0_is_mclk1 = false,
        .flags = 0,