linux-yocto/drivers/devfreq
Pengjie Zhang 469b0b8ce0 PM / devfreq: hisi: Fix potential UAF in OPP handling
[ Upstream commit 26dd44a40096468396b6438985d8e44e0743f64c ]

Ensure all required data is acquired before calling dev_pm_opp_put(opp)
to maintain correct resource acquisition and release order.

Fixes: 7da2fdaaa1 ("PM / devfreq: Add HiSilicon uncore frequency scaling driver")
Signed-off-by: Pengjie Zhang <zhangpengjie2@huawei.com>
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20250915062135.748653-1-zhangpengjie2@huawei.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:03:11 +01:00
..
event
devfreq-event.c
devfreq.c
exynos-bus.c
governor_passive.c
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c
governor.h
hisi_uncore_freq.c
imx-bus.c
imx8m-ddrc.c
Kconfig
Makefile
mtk-cci-devfreq.c
rk3399_dmc.c
sun8i-a33-mbus.c
tegra30-devfreq.c