diff options
author | Dongliang Mu <[email protected]> | 2021-10-20 22:35:33 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-10-25 09:53:50 +0530 |
commit | 05f4fae9a2f5785d180b48ee93d7fa75425091c3 (patch) | |
tree | f5c4013d346ca7377d9c86ea7a0cb1bb89372de2 /tools/perf/scripts/python/stackcollapse.py | |
parent | e7e1e880b114ca640a2f280b0d5d38aed98f98c6 (diff) |
dmaengine: rcar-dmac: refactor the error handling code of rcar_dmac_probe
In rcar_dmac_probe, if pm_runtime_resume_and_get fails, it forgets to
disable runtime PM. And of_dma_controller_free should only be invoked
after the success of of_dma_controller_register.
Fix this by refactoring the error handling code.
Signed-off-by: Dongliang Mu <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions