soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang
PATCH v2 1/1 soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang
The imx8mn clock list for the ISI lists four clocks, but DOMAIN_MAX_CLKS was set to 3. Because of this, attempts to enable the fourth clock failed, threw some splat, and ultimately hung.
Fixes 7f511d514e8c ("soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl")
Signed-off-by Adam Ford <[email protected]>
drivers/soc/imx/imx8m-blk-ctrl.c +1 -1
@@ -50,7 +50,7 @@ struct imx8m_blk_ctrl_domain_data {u32 mipi_phy_rst_mask; }; -#define DOMAIN_MAX_CLKS 3 +#define DOMAIN_MAX_CLKS 4struct imx8m_blk_ctrl_domain {struct generic_pm_domain genpd;
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Am Sonntag, dem 20.03.2022 um 15:52 -0500 schrieb Adam Ford:
Quoted 6 lines
The imx8mn clock list for the ISI lists four clocks, but
DOMAIN_MAX_CLKSwas set to 3. Because of this, attempts to enable the fourth clock failed, threw some splat, and ultimately hung.Fixes 7f511d514e8c ("soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl")Signed-off-by Adam Ford <[email protected]>
Reviewed-by Lucas Stach <[email protected]>
Quoted 14 lines
drivers/soc/imx/imx8m-blk-ctrl.c +1
-1@@ -50,7 +50,7 @@ struct imx8m_blk_ctrl_domain_data {u32 mipi_phy_rst_mask; }; -#define DOMAIN_MAX_CLKS 3 +#define DOMAIN_MAX_CLKS 4struct imx8m_blk_ctrl_domain {struct generic_pm_domain genpd;
Shawn Guo
AppliedQuoted 6 lines · Adam Ford
The imx8mn clock list for the ISI lists four clocks, but
DOMAIN_MAX_CLKSwas set to 3. Because of this, attempts to enable the fourth clock failed, threw some splat, and ultimately hung.Fixes 7f511d514e8c ("soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl")Signed-off-by Adam Ford <[email protected]>
Applied, thanks!