mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
soc: qcom: secure_buffer: Add missing dma_unmap_single
Add a missing dma_unmap_single() that was accidentally deleted when adding tracepoints in the secure_buffer driver. Change-Id: I8159bee354b4debffb2a55165d2e543d5979daff Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This commit is contained in:
parent
e22d4b67e1
commit
903fe10e59
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ static int batched_hyp_assign(struct sg_table *table, struct scm_desc *desc)
|
|||
|
||||
trace_hyp_assign_batch_end(ret, ktime_us_delta(ktime_get(),
|
||||
batch_assign_start_ts));
|
||||
dma_unmap_single(qcom_secure_buffer_dev, entries_dma_addr,
|
||||
entries_size, DMA_TO_DEVICE);
|
||||
i++;
|
||||
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue