Chuhong Yuan ca4c17f210 dmaengine: ti: edma: fix missed failure handling
[ Upstream commit 340049d453682a9fe8d91fe794dd091730f4bb25 ]

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

Fixes: 1be5336bc7ba ("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
..
2019-06-08 12:46:31 -07:00
2019-07-17 09:55:43 -07:00
2019-09-17 19:04:40 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-09-17 19:04:40 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-09-17 19:04:40 -07:00
2019-09-22 09:30:30 -07:00
2019-07-30 10:41:53 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-09-17 19:04:40 -07:00
2019-07-17 09:55:43 -07:00