mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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: Huicheng Liu <huicliu@codeaurora.org>
This commit is contained in:
parent
111a7ea848
commit
dfe4a17ade
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue