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

Commit dfe4a17a authored by Huicheng Liu's avatar Huicheng Liu
Browse files

dsp: Set dma_mask to accept 64 bit dma address



We do not set the dma_mask so by default it only
accepts 32bit dma address. setting the dma_mask to
DMA_BIT_MASK(64) makes it accept 64 bit dma address
as well

Change-Id: I3c5dc78e69432f261bee26bf9e0d8d097bc16d09
Signed-off-by: default avatarHuicheng Liu <huicliu@codeaurora.org>
parent 111a7ea8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -948,6 +948,11 @@ static int msm_audio_ion_probe(struct platform_device *pdev)
		dev_dbg(dev, "%s: SMMU is Disabled\n", __func__);
		goto exit;
	}
	else {
		rc = dma_set_mask(dev, DMA_BIT_MASK(64));
		dev_dbg(dev, "%s: dma_set_mask returned 0x%x\n",
			__func__, rc);
	}

	rc = habmm_socket_open(&msm_audio_ion_hab_handle,
		HAB_MMID_CREATE(MM_AUD_3,