Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ba6fccf8 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tero Kristo
Browse files

dmaengine: ti: k3-udma: Fix cleanup code for alloc_chan_resources

commit 5a9377cc

 upstream.

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: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
parent f9ed0c80
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment