summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-11-18 14:41:07 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 08:36:34 +0100
commit5fed8c513adb7820ffa0f3a16b5539a161767948 (patch)
tree8d4818df24d5e2a4ae47c970c84c03059bd200f3 /arch/arm64/boot/dts/qcom
parentef6b35dfe1426756ea42d90f0fc0ab508091f0db (diff)
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: 11e1a1648298 ("opp: Don't decrement uninitialized list_kref") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom')
0 files changed, 0 insertions, 0 deletions