[PATCH RESEND] clk: imx: imx8-acm: fix flags for acm clocks

Peng Fan peng.fan at oss.nxp.com
Wed Feb 25 00:18:56 PST 2026


On Thu, Feb 12, 2026 at 04:57:50PM +0800, Shengjiu Wang wrote:
>From: Stefan Eichenberger <stefan.eichenberger at toradex.com>
>
>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 at vger.kernel.org
>Fixes: d3a0946d7ac9 ("clk: imx: imx8: add audio clock mux driver")
>Signed-off-by: Stefan Eichenberger <stefan.eichenberger at toradex.com>
>Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list