dmaengine: ti: k3-udma: Fixes for alloc_chan_resources
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dmaengine: ti: k3-udma: Fix cleanup code for alloc_chan_resourcesdrivers/ | +16 | 0 replies | |
| 2/2 | dmaengine: ti: k3-udma: Fix the running channel handling in alloc_chan_resourcesdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] dmaengine: ti: k3-udma: Fixes for alloc_chan_resources
Hi,
It turned out that udma_stop() can not be used to stop the channel which was left enabled during boot (missing cleanup in early boot) since it would initiate teardown. This is not supported on non configured channels.
Simply reset the running channel instead fixes the issue.
While looking at this issue I have noticed that the cleanup path misses resources if the error happens early.
Regards,
Peter
---
Peter Ujfalusi (2):
dmaengine: ti: k3-udma: Fix cleanup code for alloc_chan_resources
dmaengine: ti: k3-udma: Fix the running channel handling in
alloc_chan_resources
drivers/dma/ti/k3-udma.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-)
Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki