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

Commit d664ce75 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Bjorn Andersson
Browse files

remoteproc: fix for "dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flag"



The commit 82c5de0a ("dma-mapping: remove the DMA_MEMORY_EXCLUSIVE
flag") removed the "flags" parameter for dma_declare_coherent_memory().
Remove the parameter from the call in rproc_add_virtio_dev().

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
[bjorn: Extended commit message]
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 28d7d5c6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -365,8 +365,7 @@ int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id)
			/* Associate vdev buffer memory pool to vdev subdev */
			ret = dma_declare_coherent_memory(dev, pa,
							   mem->da,
							   mem->len,
							   DMA_MEMORY_EXCLUSIVE);
							   mem->len);
			if (ret < 0) {
				dev_err(dev, "Failed to associate buffer\n");
				goto out;