Re: [PATCH] dmaengine: rcar-dmac: refactor the error handling code of rcar_dmac_probe
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-10-25 04:24:19
Also in:
lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2021-10-25 04:24:19
Also in:
lkml
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