drm/msm/devfreq: Fix OPP refcnt leak
authorRob Clark <robdclark@chromium.org>
Fri, 5 Nov 2021 20:20:21 +0000 (13:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:04:52 +0000 (09:04 +0100)
commita4eb55901df1dce8c6944438bbdf57caf08911e2
tree808682a94275f1b830603e5b2d43a47ba164ac0d
parent8e256b45e0587ce078b3c7c40070789326f5af6e
drm/msm/devfreq: Fix OPP refcnt leak

[ Upstream commit 59ba1b2b4825342676300f66d785764be3fcb093 ]

Reported-by: Douglas Anderson <dianders@chromium.org>
Fixes: 9bc95570175a ("drm/msm: Devfreq tuning")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-By: Steev Klimaszewski <steev@kali.org>
Reviewed-by: Akhil P Oommen <akhilpo@codeaurora.org>
Link: https://lore.kernel.org/r/20211105202021.181092-1-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/msm_gpu_devfreq.c