diff options
| author | Tony Lindgren <[email protected]> | 2016-11-11 19:28:52 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2016-11-14 08:30:16 +0000 |
| commit | 740b4be3f742100ea66f0f9ee9715b10ee304a90 (patch) | |
| tree | 5acde2aa9781ffde6d2c4d59acfd724e3e242bd2 /lib/debugobjects.c | |
| parent | dmaengine: cppi41: Fix unpaired pm runtime when only a USB hub is connected (diff) | |
| download | kernel-740b4be3f742100ea66f0f9ee9715b10ee304a90.tar.gz kernel-740b4be3f742100ea66f0f9ee9715b10ee304a90.zip | |
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 <[email protected]>. This is to keep the PM runtime
use counts happy.
Fixes: fdea2d09b997 ("dmaengine: cppi41: Add basic PM runtime support")
Cc: Johan Hovold <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
