summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDongliang Mu <mudongliangabcd@gmail.com>2021-10-20 16:35:33 +0200
committerVinod Koul <vkoul@kernel.org>2021-10-25 06:23:50 +0200
commit05f4fae9a2f5785d180b48ee93d7fa75425091c3 (patch)
treef5c4013d346ca7377d9c86ea7a0cb1bb89372de2 /init
parentdmaengine: dmaengine_desc_callback_valid(): Check for `callback_result` (diff)
downloadlinux-05f4fae9a2f5785d180b48ee93d7fa75425091c3.tar.xz
linux-05f4fae9a2f5785d180b48ee93d7fa75425091c3.zip
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 <mudongliangabcd@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20211020143546.3436205-1-mudongliangabcd@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions