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

Commit 0c113b0b authored by Runmin Wang's avatar Runmin Wang
Browse files

soc: qcom: pil: Update the dma attribute name



Use the new DMA_ATTR_PRIVILEGED to set dma attribute.

Change-Id: Ifcabe968583f9dde3fae389806ce5ea13fe158da
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 9e6f184d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -609,7 +609,7 @@ static int pil_init_image_trusted(struct pil_desc *pil,

	dev.coherent_dma_mask =
		DMA_BIT_MASK(sizeof(dma_addr_t) * 8);
	attrs |= DMA_ATTR_STRONGLY_ORDERED;
	attrs |= DMA_ATTR_PRIVILEGED;
	mdata_buf = dma_alloc_attrs(&dev, size, &mdata_phys, GFP_KERNEL,
					attrs);
	if (!mdata_buf) {