android_kernel_motorola_sm6375/drivers/opp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viresh Kumar 5fed8c513a opp: Free static OPPs on errors while adding them
[ Upstream commit ba0033192145cbd4e70ef64552958b13d597eb9e ]

The static OPPs aren't getting freed properly, if errors occur while
adding them. Fix that by calling _put_opp_list_kref() and putting their
reference on failures.

Fixes: 11e1a16482 ("opp: Don't decrement uninitialized list_kref")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:34 +01:00
..
core.c opp: core: Revert "add regulators enable and disable" 2019-10-21 07:58:12 +05:30
cpu.c
debugfs.c
Kconfig
Makefile
of.c opp: Free static OPPs on errors while adding them 2020-02-24 08:36:34 +01:00
opp.h
ti-opp-supply.c