mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
firmware: scm: Remove arch check for dma_set_mask
Remove the preprocessor if statement for checking the arch of the target since this will not affect targets with a 32bit address space. This change allows the driver to be compiled and used for targets that do not define CONFIG_ARM64. Change-Id: I6fc11e86d6799099fdaeec46df6d7093c1ca117f Signed-off-by: Lina Iyer <ilina@codeaurora.org> Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org> Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
This commit is contained in:
parent
963b168fc2
commit
eb798d82d2
1 changed files with 0 additions and 2 deletions
|
|
@ -1093,11 +1093,9 @@ static int qcom_scm_probe(struct platform_device *pdev)
|
|||
|
||||
__qcom_scm_init();
|
||||
|
||||
#if CONFIG_ARM64
|
||||
ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(64));
|
||||
if (ret)
|
||||
return ret;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue