aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/idxd/device.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-06-24 14:46:26 +0800
committerVinod Koul <vkoul@kernel.org>2020-06-24 15:11:39 +0530
commit5b78fac4b1ba731cf4177fdbc1e3a4661521bcd0 (patch)
treeb7cd13542047172f457b17118ad1cdfe64ff3737 /drivers/dma/idxd/device.c
parentdmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler (diff)
downloadlinux-dev-5b78fac4b1ba731cf4177fdbc1e3a4661521bcd0.tar.xz
linux-dev-5b78fac4b1ba731cf4177fdbc1e3a4661521bcd0.zip
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/device.c')
0 files changed, 0 insertions, 0 deletions