summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/rdma_core.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2020-05-27 10:06:11 +0300
committerVinod Koul <vkoul@kernel.org>2020-06-16 21:26:03 +0530
commit5a9377cc7421b59b13c9b90b8dc0aca332a1c958 (patch)
treef8ecda637754f220153c0765eb531aab835875ad /drivers/infiniband/core/rdma_core.c
parent9f2f3ce3daed229eecf647acac44defbdee1f7c0 (diff)
dmaengine: ti: k3-udma: Fix cleanup code for alloc_chan_resources
Some of the earlier errors should be sent to the error cleanup path to make sure that the uchan struct is reset, the dma_pool (if allocated) is released and memcpy channel pairs are released in a correct way. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20200527070612.636-2-peter.ujfalusi@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.c')
0 files changed, 0 insertions, 0 deletions