[PATCH] dmaengine: ste_dma40: add missing free_irq() in error path
Linus Walleij
linus.walleij at linaro.org
Tue Nov 15 14:12:58 PST 2022
On Tue, Nov 15, 2022 at 9:19 AM ruanjinjie <ruanjinjie at huawei.com> wrote:
> free_irq() is missing in some cases of error in d40_probe(), fix that.
>
> Signed-off-by: ruanjinjie <ruanjinjie at huawei.com>
Correct, but ... please just convert it to use
devm_request_irq() instead. Less lines of code.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list