kernel_samsung_a53x/drivers/dma/ti
Dan Carpenter b516aab212 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
[ Upstream commit 14f6d317913f634920a640e9047aa2e66f5bdcb7 ]

Zero is not a valid IRQ for in-kernel code and the irq_of_parse_and_map()
function returns zero on error.  So this check for valid IRQs should only
accept values > 0.

Fixes: 2b6b3b742019 ("ARM/dmaengine: edma: Merge the two drivers under drivers/dma/")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/f15cb6a7-8449-4f79-98b6-34072f04edbc@moroto.mountain
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:05 +01:00
..
cppi41.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dma-crossbar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
edma.c dmaengine: ti: edma: handle irq_of_parse_and_map() errors 2024-11-18 11:43:05 +01:00
k3-psil-am654.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-psil-j721e.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-psil-j7200.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-psil-priv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-psil.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-udma-glue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-udma-private.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-udma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
k3-udma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00