Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/arm/nxp



Module Name:    src
Committed By:   hkenken
Date:           Sun Nov 22 23:49:40 UTC 2026

Modified Files:
        src/sys/arch/arm/nxp: imx_ccm_div.c

Log Message:
imx_ccm: fix infinite loop in div set_rate with IMX_DIV_SET_RATE_PARENT

imx_ccm_div_set_rate() passed the clock itself to clk_set_rate() instead
of its parent, so the call came back into the same function and looped
forever, hanging the kernel.

This only affects dividers with IMX_DIV_SET_RATE_PARENT set.  Reproduced
and verified the fix on QEMU mcimx7d-sabre with a DT that sets
assigned-clock-rates.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/nxp/imx_ccm_div.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index