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:
Chris Goldsworthy 2019-11-15 12:19:04 -08:00
commit 903fe10e59

View file

@ -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) {