Commit e2aa165c authored by Adam Ford's avatar Adam Ford Committed by Shawn Guo
Browse files

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: 7f511d51 ("soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl")
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent dd2737fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ struct imx8m_blk_ctrl_domain_data {
	u32 mipi_phy_rst_mask;
};

#define DOMAIN_MAX_CLKS 3
#define DOMAIN_MAX_CLKS 4

struct imx8m_blk_ctrl_domain {
	struct generic_pm_domain genpd;