aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-05-20 10:25:49 +0000
committerBen Skeggs <[email protected]>2020-05-22 01:13:52 +0000
commitd7372dfb3f7f1602b87e0663e8b8646da23ebca7 (patch)
tree9ecbe899920c07b190a0c8c461259b01888d6379 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/nouveau/debugfs: fix runtime pm imbalance on error (diff)
downloadkernel-d7372dfb3f7f1602b87e0663e8b8646da23ebca7.tar.gz
kernel-d7372dfb3f7f1602b87e0663e8b8646da23ebca7.zip
drm/nouveau: fix runtime pm imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions