linux/drivers/dma/ti
Chuhong Yuan ca4c17f210 dmaengine: ti: edma: fix missed failure handling
[ Upstream commit 340049d453 ]

When devm_kcalloc fails, it forgets to call edma_free_slot.
Replace direct return with failure handler to fix it.

Fixes: 1be5336bc7 ("dmaengine: edma: New device tree binding")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191118073802.28424-1-hslester96@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-26 10:01:08 +01:00
..
Kconfig
Makefile
cppi41.c
dma-crossbar.c
edma.c dmaengine: ti: edma: fix missed failure handling 2020-01-26 10:01:08 +01:00
omap-dma.c