linux-stable/drivers/soc/imx
Laurent Pinchart fa231bef3b soc: imx: gpcv2: Fix clock disabling imbalance in error path
The imx_pgc_power_down() starts by enabling the domain clocks, and thus
disables them in the error path. Commit 18c98573a4 ("soc: imx: gpcv2:
add domain option to keep domain clocks enabled") made the clock enable
conditional, but forgot to add the same condition to the error path.
This can result in a clock enable/disable imbalance. Fix it.

Fixes: 18c98573a4 ("soc: imx: gpcv2: add domain option to keep domain clocks enabled")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-02-21 15:27:41 +08:00
..
gpc.c soc: imx: gpc: fix power up sequencing 2020-03-16 11:39:02 +08:00
gpcv2.c soc: imx: gpcv2: Fix clock disabling imbalance in error path 2022-02-21 15:27:41 +08:00
imx8m-blk-ctrl.c ARM: SoC driver updates for v5.17 2022-01-10 08:13:52 -08:00
Kconfig imx: soc: Select REGMAP_MMIO 2021-10-05 13:54:44 +08:00
Makefile soc: imx: add i.MX8M blk-ctrl driver 2021-10-06 20:13:47 +08:00
soc-imx.c soc: imx: Register SoC device only on i.MX boards 2021-12-08 20:30:00 +08:00
soc-imx8m.c Revert "soc: imx8m: change to use platform driver" 2021-07-15 19:02:44 +08:00