summaryrefslogtreecommitdiff
path: root/drivers/dma/nbpfaxi.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2016-11-11 11:28:52 -0800
committerVinod Koul <vinod.koul@intel.com>2016-11-14 14:00:16 +0530
commit740b4be3f742100ea66f0f9ee9715b10ee304a90 (patch)
tree5acde2aa9781ffde6d2c4d59acfd724e3e242bd2 /drivers/dma/nbpfaxi.c
parent098de42ad6708866501a00155ba85350bc0b29e5 (diff)
downloadlinux-rt-740b4be3f742100ea66f0f9ee9715b10ee304a90.tar.gz
dmaengine: cpp41: Fix handling of error path
If we return early on pm_runtime_get() error, we need to also call pm_runtime_put_noidle() as pointed out in a musb related thread by Johan Hovold <johan@kernel.org>. This is to keep the PM runtime use counts happy. Fixes: fdea2d09b997 ("dmaengine: cppi41: Add basic PM runtime support") Cc: Johan Hovold <johan@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/nbpfaxi.c')
0 files changed, 0 insertions, 0 deletions