diff options
author | 2022-11-20 18:19:01 +0100 | |
---|---|---|
committer | 2022-12-08 12:41:04 +0000 | |
commit | 36579aca877a62f67ecd77eb3edefc4c86292406 (patch) | |
tree | 90527fc94e8288411d4792b665108b1145a45389 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: stm32-lptimer: Use devm_platform_get_and_ioremap_resource() (diff) | |
download | linux-rng-36579aca877a62f67ecd77eb3edefc4c86292406.tar.xz linux-rng-36579aca877a62f67ecd77eb3edefc4c86292406.zip |
mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe()
If an error occurs after the clk_prepare_enable() call, a corresponding
clk_disable_unprepare() should be called.
Simplify code and switch to devm_clk_get_enabled() to fix it.
Fixes: 3526403353c2 ("mfd: qcom_rpm: Handle message RAM clock")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/e39752476d02605b2be46cab7115f71255ce13a8.1668949256.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions