summaryrefslogtreecommitdiff
path: root/drivers/dma/idxd
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-06-24 09:46:26 +0300
committerVinod Koul <vkoul@kernel.org>2020-06-24 12:41:39 +0300
commit5b78fac4b1ba731cf4177fdbc1e3a4661521bcd0 (patch)
treeb7cd13542047172f457b17118ad1cdfe64ff3737 /drivers/dma/idxd
parent8995aa3d164ddd9200e6abcf25c449cf5298c858 (diff)
downloadlinux-5b78fac4b1ba731cf4177fdbc1e3a4661521bcd0.tar.xz
dmaengine: tegra210-adma: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even when it 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 <dinghao.liu@zju.edu.cn> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20200624064626.19855-1-dinghao.liu@zju.edu.cn Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd')
0 files changed, 0 insertions, 0 deletions