Skip to content

Commit

Permalink
soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang
Browse files Browse the repository at this point in the history
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: 7f511d5 ("soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Adam Ford authored and Shawn Guo committed Apr 10, 2022
1 parent dd2737f commit e2aa165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/soc/imx/imx8m-blk-ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e2aa165

Please sign in to comment.