summaryrefslogtreecommitdiffstats
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-11-18 14:41:07 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2019-12-10 15:56:56 +0530
commitba0033192145cbd4e70ef64552958b13d597eb9e (patch)
treeb250718e6bff03d27ad6f85e0bbb8359dc70f2ac /drivers/opp/opp.h
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-ba0033192145cbd4e70ef64552958b13d597eb9e.tar.bz2
opp: Free static OPPs on errors while adding them
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: 11e1a1648298 ("opp: Don't decrement uninitialized list_kref") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/opp.h')
0 files changed, 0 insertions, 0 deletions