Re: [PATCH -next] dmaengine: ste_dma40: Add missing IRQ check in d40_probe
From: Linus Walleij
Date: Thu Aug 10 2023 - 04:20:34 EST
On Mon, Jul 24, 2023 at 8:40 AM Ruan Jinjie <ruanjinjie@xxxxxxxxxx> wrote:
> From: ruanjinjie <ruanjinjie@xxxxxxxxxx>
>
> Check for the return value of platform_get_irq(): if no interrupt
> is specified, it wouldn't make sense to call request_irq().
>
> Fixes: 8d318a50b3d7 ("DMAENGINE: Support for ST-Ericssons DMA40 block v3")
> Signed-off-by: Ruan Jinjie <ruanjinjie@xxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij