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

Commit dcd264cf authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

msm: ADSPRPC: Remove scatterlist validation



The buffers allocated by ION for ADSP/AUDIO heap would be
physically contiguous and no additional checks are required
to validate this.

Change-Id: Ib54aaf6c18448d18d0a22dac0ddab50a0ab4f493
Acked-by: default avatarSathish Ambley <sambley@qti.qualcomm.com>
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent ff4fa6ee
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -253,9 +253,6 @@ static int alloc_mem(struct fastrpc_buf *buf)
			goto bail;
	} else {
		VERIFY(err, 0 != (sg = ion_sg_table(clnt, buf->handle)));
		if (err)
			goto bail;
		VERIFY(err, 1 == sg->nents);
		if (err)
			goto bail;
		buf->phys = sg_dma_address(sg->sgl);