[ Upstream commit 624a6760bf8464965c17c8df10b40b557eaa3002 ]
The size of the buffer in alloc_command_queues() is
curr->size + OTX_CPT_NEXT_CHUNK_PTR_SIZE, so used that length for
dma_free_coherent().
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| otx_cpt_common.h | ||
| otx_cpt_hw_types.h | ||
| otx_cptpf.h | ||
| otx_cptpf_main.c | ||
| otx_cptpf_mbox.c | ||
| otx_cptpf_ucode.c | ||
| otx_cptpf_ucode.h | ||
| otx_cptvf.h | ||
| otx_cptvf_algs.c | ||
| otx_cptvf_algs.h | ||
| otx_cptvf_main.c | ||
| otx_cptvf_mbox.c | ||
| otx_cptvf_reqmgr.c | ||
| otx_cptvf_reqmgr.h | ||