summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ptdma
diff options
context:
space:
mode:
authorYongzhi Liu <lyz_cs@pku.edu.cn>2022-01-15 21:34:56 -0800
committerVinod Koul <vkoul@kernel.org>2022-02-15 11:04:16 +0530
commit455896c53d5b803733ddd84e1bf8a430644439b6 (patch)
tree6d30f18cee1c13a1c2157cc6a0002fe792e7b8c5 /drivers/dma/ptdma
parentda2ad87fba0891576aadda9161b8505fde81a84d (diff)
downloadlinux-stable-455896c53d5b803733ddd84e1bf8a430644439b6.tar.gz
linux-stable-455896c53d5b803733ddd84e1bf8a430644439b6.tar.bz2
linux-stable-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 <lyz_cs@pku.edu.cn> Link: https://lore.kernel.org/r/1642311296-87020-1-git-send-email-lyz_cs@pku.edu.cn Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ptdma')
0 files changed, 0 insertions, 0 deletions