diff options
author | 2022-02-18 23:57:20 +0200 | |
---|---|---|
committer | 2022-02-21 15:27:41 +0800 | |
commit | fa231bef3b34f1670b240409c11e59a3ce095e6d (patch) | |
tree | 17e45830708d894cde24154c8669da6c7b1ad3c0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | arm64: dts: imx8ulp: Set #thermal-sensor-cells to 1 as required (diff) | |
download | wireguard-linux-fa231bef3b34f1670b240409c11e59a3ce095e6d.tar.xz wireguard-linux-fa231bef3b34f1670b240409c11e59a3ce095e6d.zip |
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 18c98573a4cf ("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: 18c98573a4cf ("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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions