aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2020-12-28 05:21:04 +0000
committerViresh Kumar <[email protected]>2020-12-28 05:26:22 +0000
commit0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648 (patch)
tree66dbf8c4b0bb05eff4f6e35ad009bfc07b75a134 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentopp: fix memory leak in _allocate_opp_table (diff)
downloadkernel-0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648.tar.gz
kernel-0e1d9ca1766f5d95fb881f57b6c4a1ffa63d4648.zip
opp: Call the missing clk_put() on error
Fix the clock reference counting by calling the missing clk_put() in the error path. Cc: v5.10 <[email protected]> # v5.10 Fixes: dd461cd9183f ("opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER") Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions