Re: [PATCH] dmaengine: rcar-dmac: refactor the error handling code of rcar_dmac_probe

From: Vinod Koul
Date: Mon Oct 25 2021 - 00:24:16 EST


On 20-10-21, 22:35, Dongliang Mu wrote:
> 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.

Applied, thanks

--
~Vinod