When devm_kcalloc fails, it forgets to call edma_free_slot.
Replace direct return with failure handler to fix it.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cppi41.c | ||
| dma-crossbar.c | ||
| edma.c | ||
| omap-dma.c | ||
When devm_kcalloc fails, it forgets to call edma_free_slot.
Replace direct return with failure handler to fix it.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cppi41.c | ||
| dma-crossbar.c | ||
| edma.c | ||
| omap-dma.c | ||