Skip to content
Commit c05ce690 authored by ruanjinjie's avatar ruanjinjie Committed by Vinod Koul
Browse files

dmaengine: ste_dma40: Add missing IRQ check in d40_probe



Check for the return value of platform_get_irq(): if no interrupt
is specified, it wouldn't make sense to call request_irq().

Fixes: 8d318a50 ("DMAENGINE: Support for ST-Ericssons DMA40 block v3")
Signed-off-by: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230724144108.2582917-1-ruanjinjie@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 1fbda5f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment