diff options
author | ruanjinjie <ruanjinjie@huawei.com> | 2023-07-24 14:41:08 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-13 09:42:58 +0200 |
commit | e351933e4a14b97003622b501581c57e77c1b8a9 (patch) | |
tree | d109f707f91458cf73db01112f321afa5a197df2 /drivers/xen | |
parent | 43a57ca7dd9073fbeae2cef9e9e61dd80062529f (diff) | |
download | linux-stable-e351933e4a14b97003622b501581c57e77c1b8a9.tar.gz linux-stable-e351933e4a14b97003622b501581c57e77c1b8a9.tar.bz2 linux-stable-e351933e4a14b97003622b501581c57e77c1b8a9.zip |
dmaengine: ste_dma40: Add missing IRQ check in d40_probe
[ Upstream commit c05ce6907b3d6e148b70f0bb5eafd61dcef1ddc1 ]
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@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230724144108.2582917-1-ruanjinjie@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions