diff options
| author | Yongzhi Liu <[email protected]> | 2022-01-16 05:34:56 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-02-15 05:34:16 +0000 |
| commit | 455896c53d5b803733ddd84e1bf8a430644439b6 (patch) | |
| tree | 6d30f18cee1c13a1c2157cc6a0002fe792e7b8c5 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size (diff) | |
| download | kernel-455896c53d5b803733ddd84e1bf8a430644439b6.tar.gz kernel-455896c53d5b803733ddd84e1bf8a430644439b6.zip | |
dmaengine: shdma: Fix runtime PM imbalance on error
pm_runtime_get_() increments the runtime PM usage counter even
when it returns an error code, thus a matching decrement is needed on
the error handling path to keep the counter balanced.
Signed-off-by: Yongzhi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
