]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: imx8mp: Fix SAI_MCLK_SEL definition
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 23 Feb 2024 10:15:51 +0000 (18:15 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:52 +0000 (18:19 -0400)
commite0cbea9a3c59865beb821e36f66b0b82f37c8b23
tree010b3fe4f617c35d7324eb1cc15d23c56421d2a5
parent1dce1cee24889dc8122101bc62354652ef6e78d5
clk: imx: imx8mp: Fix SAI_MCLK_SEL definition

[ Upstream commit 13269dc6c70444528f0093585e3559cd2f38850a ]

There is SAI1, SAI2, SAI3, SAI5, SAI6, SAI7 existing in this block
control, the order is discontinuous. The definition of SAI_MCLK_SEL(n)
is not match with the usage of CLK_SAIn(n).

So define SAI##n##_MCLK_SEL separately to fix the issue.

Fixes: 6cd95f7b151c ("clk: imx: imx8mp: Add audiomix block control")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/1708683351-8504-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx8mp-audiomix.c