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

Commit 06f4dd2f authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

msm: msm-buspm: Set the dma bit mask for buspm device



Set the DMA_BIT_MASK for the buspm device explicitly else
dma_alloc fails on ARM targets.

Change-Id: I5602db8e18089e115a4efbf058004a659ad1c6e2
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent 57301a09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -347,6 +347,10 @@ static int __init msm_buspm_dev_init(void)
	if (ret < 0)
		pr_err("%s: Cannot register misc device\n", __func__);

	if (msm_buspm_misc.this_device->coherent_dma_mask == 0)
		msm_buspm_misc.this_device->coherent_dma_mask =
							DMA_BIT_MASK(32);

	return ret;
}