Merge "soc: qcom: scm: Fix SCM device initialization"

This commit is contained in:
qctecmdr 2019-10-11 19:16:24 -07:00 • committed by Gerrit - the friendly Code Review server
commit 32c19e7776

View file

@ -595,11 +595,11 @@ static int qcom_scm_probe(struct platform_device *pdev)
return -ENODEV;
}
qcom_scm_dev = &pdev->dev;
#ifdef CONFIG_ARM64
ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(64));
#endif
if (!ret)
qcom_scm_dev = &pdev->dev;
return ret;
}