diff options
author | Santhosh Kumar K <s-k6@ti.com> | 2024-10-09 20:27:03 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-17 18:21:19 -0600 |
commit | f83076add0fcc3d062c8183d905e7fc15236ce51 (patch) | |
tree | 71a2a45096a6289206c59aea7e1ccfdfdb32594d /lib/mbedtls/x509_cert_parser.c | |
parent | 7f069cc9fa4b58fe8c8d34e11507a8217cb00a3b (diff) |
dma: ti: k3-udma: Move DMA channel[0] allocation to probe and add udma_remove()
Currently, the allocation of DMA channel[0] for memcpy is happening
in udma_transfer() for every transfer, which leads to a huge overhead
for each transfer, especially in case of nand page reads. So, move this
allocation to udma_probe(), as a result, the allocation is done once
during probe.
Introduce udma_remove() for the cleanup of allocated channel during
probe.
Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions