Message ID | cover.1565715590.git.leonard.crestez@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | clk: imx8m: Fix incorrect parents | expand |
Quoting Leonard Crestez (2019-08-13 10:05:27) > No checks are made to ensure the parents in the _sels arrays actually > exist and it turns out that several are incorrect. > > I found the errors using a hack to clk core, is there a better way? > Link: https://github.com/cdleonard/linux/commit/da32c2e76eb373e8a03aec905af2eef28a7997a7 Maybe you can make it into some sort of Kconfig option that's behind a debug flag. Or you can use the possible parent debugfs files and check for parents from userspace with some script.
On Tue, Aug 13, 2019 at 08:05:27PM +0300, Leonard Crestez wrote: > No checks are made to ensure the parents in the _sels arrays actually > exist and it turns out that several are incorrect. > > I found the errors using a hack to clk core, is there a better way? > Link: https://github.com/cdleonard/linux/commit/da32c2e76eb373e8a03aec905af2eef28a7997a7 > > Also add imx8mn GIC clock while we're at it because otherwise parent > could get disabled and lock the system. > > Leonard Crestez (4): > clk: imx8mq: Fix sys3 pll references > clk: imx8mm: Fix incorrect parents > clk: imx8mn: Fix incorrect parents > clk: imx8mn: Add GIC clock Applied all, thanks.