Re: [PATCH] dmaengine: ste_dma40: add missing free_irq() in error path

From: Linus Walleij
Date: Tue Nov 15 2022 - 17:13:23 EST


On Tue, Nov 15, 2022 at 9:19 AM ruanjinjie <ruanjinjie@xxxxxxxxxx> wrote:

> free_irq() is missing in some cases of error in d40_probe(), fix that.
>
> Signed-off-by: ruanjinjie <ruanjinjie@xxxxxxxxxx>

Correct, but ... please just convert it to use
devm_request_irq() instead. Less lines of code.

Yours,
Linus Walleij