Commit 203e2ff6 authored by ruanjinjie's avatar ruanjinjie Committed by sanglipeng
Browse files

dmaengine: ste_dma40: Add missing IRQ check in d40_probe

stable inclusion
from stable-v5.10.195
commit 27b75c7203fc2d21e23c41cfa8877d923c001bab
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=27b75c7203fc2d21e23c41cfa8877d923c001bab



--------------------------------

[ 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>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent d262b9d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment