soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang
authorAdam Ford <aford173@gmail.com>
Sun, 20 Mar 2022 20:52:12 +0000 (15:52 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sun, 10 Apr 2022 01:32:08 +0000 (09:32 +0800)
commite2aa165cd0163cef83cb295eb572aa9fb1604cf4
tree5215215e2d7aa82d830d24d912b267debdd59cb6
parentdd2737fab4a6ce9ba4eb84842bedbd87d55241a6
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 <aford173@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/imx8m-blk-ctrl.c