Skip to content
Commit e351933e authored by ruanjinjie's avatar ruanjinjie Committed by Greg Kroah-Hartman
Browse files

dmaengine: ste_dma40: Add missing IRQ check in d40_probe

[ Upstream commit c05ce690 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 43a57ca7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment