diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2026-09-21 14:52:51 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-28 15:36:05 +0200 |
| commit | d8b3847770661b7109146e6479eeadcdab9cecf0 (patch) | |
| tree | 2e4581fe916be9b4563f89b56a60080e3a6c495b /tools/lib/python/kdoc/python_version.py | |
| parent | 4c0d69d677cf5b0065ebbb3ceb8ba66fddbec630 (diff) | |
| download | linux-next-d8b3847770661b7109146e6479eeadcdab9cecf0.tar.gz linux-next-d8b3847770661b7109146e6479eeadcdab9cecf0.zip | |
pmdomain: rockchip: fix clock leak on domain probe failure
When of_clk_get() failed in the middle of the loop, the references of
the clocks acquired so far were leaked instead of being released by
the error path.
Fixes: d909072d0521 ("soc: rockchip: power-domain: use clk_bulk APIs")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
