linux-stable/drivers/devfreq
Boris Brezillon 7462483446 PM / devfreq: Fix leak in devfreq_dev_release()
commit 5693d07759 upstream.

srcu_init_notifier_head() allocates resources that need to be released
with a srcu_cleanup_notifier_head() call.

Reported by kmemleak.

Fixes: 0fe3a66410 ("PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-23 10:46:59 +02:00
..
event PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency 2020-02-28 16:36:02 +01:00
Kconfig PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency 2020-02-28 16:36:02 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devfreq-event.c
devfreq.c PM / devfreq: Fix leak in devfreq_dev_release() 2023-09-23 10:46:59 +02:00
exynos-bus.c PM / devfreq: exynos-bus: Correct clock enable sequence 2019-10-05 12:47:55 +02:00
governor.h
governor_passive.c PM / devfreq: passive: fix compiler warning 2019-10-05 12:48:04 +02:00
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c
rk3399_dmc.c
tegra-devfreq.c PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 13:12:28 +02:00