]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: imx8-acm: fix flags for acm clocks
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Thu, 12 Feb 2026 08:57:50 +0000 (16:57 +0800)
committerAbel Vesa <abel.vesa@oss.qualcomm.com>
Thu, 19 Mar 2026 14:15:32 +0000 (16:15 +0200)
commitf2c2fc93b4a3efdfcf3805ab74741826d343ff2c
tree91093707244c39c20fa66aee96497d0ed1f6bc69
parent9faf207208951460f3f7eefbc112246c8d28ff1b
clk: imx: imx8-acm: fix flags for acm clocks

Currently, the flags for the ACM clocks are set to 0. This configuration
causes the fsl-sai audio driver to fail when attempting to set the
sysclk, returning an EINVAL error. The following error messages
highlight the issue:
fsl-sai 59090000.sai: ASoC: error at snd_soc_dai_set_sysclk on 59090000.sai: -22
imx-hdmi sound-hdmi: failed to set cpu sysclk: -22

By setting the flag CLK_SET_RATE_NO_REPARENT, we signal that the ACM
driver does not support reparenting and instead relies on the clock tree
as defined in the device tree. This change resolves the issue with the
fsl-sai audio driver.

CC: stable@vger.kernel.org
Fixes: d3a0946d7ac9 ("clk: imx: imx8: add audio clock mux driver")
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260212085750.3253187-1-shengjiu.wang@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
drivers/clk/imx/clk-imx8-acm.c