Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 903fe10e authored by Chris Goldsworthy's avatar Chris Goldsworthy
Browse files

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: default avatarChris Goldsworthy <cgoldswo@codeaurora.org>
parent e22d4b67
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {