summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAnas Iqbal <mohd.abd.6602@gmail.com>2026-03-19 16:30:11 +0000
committerChanwoo Choi <cw00.choi@samsung.com>2026-08-22 19:27:11 +0900
commitd0d288caaae9c4d43adb2ce00ed6f8f00b43c523 (patch)
tree09627c5c793473200478a50f4885b580d7465f19 /scripts/objdiff
parent0f02633e08f799f5829569a0f0eb42b65ddacbe0 (diff)
downloadlinux-next-d0d288caaae9c4d43adb2ce00ed6f8f00b43c523.tar.gz
linux-next-d0d288caaae9c4d43adb2ce00ed6f8f00b43c523.zip
PM / devfreq: event: rockchip-dfi: Fix missing clk_disable_unprepare() on error
Smatch reports: drivers/devfreq/event/rockchip-dfi.c:215 rockchip_dfi_enable() warn: 'dfi->clk' from clk_prepare_enable() not released. If rockchip_dfi_ddrtype_to_ctrl() fails after clk_prepare_enable(), the clock is not disabled, leading to a resource leak. Add clk_disable_unprepare() in the error path to properly release the clock. Fixes: d724f4a4581b ("PM / devfreq: rockchip-dfi: Prepare for multiple users") Signed-off-by: Anas Iqbal <mohd.abd.6602@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Link: https://lore.kernel.org/lkml/20260319163011.18876-1-mohd.abd.6602@gmail.com/
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions