Loading drivers/usb/dwc3/dwc3-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ #include <linux/usb/dwc3-msm.h> #include <linux/usb/role.h> #include <linux/usb/redriver.h> #include <linux/dma-iommu.h> #ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER #include <soc/qcom/boot_stats.h> #endif Loading Loading @@ -4803,6 +4804,9 @@ static int dwc3_msm_probe(struct platform_device *pdev) "qcom,use-pdc-interrupts"); dwc3_set_notifier(&dwc3_msm_notify_event); if (of_property_read_bool(node, "qcom,iommu-best-fit-algo")) iommu_dma_enable_best_fit_algo(dev); if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { dev_err(&pdev->dev, "setting DMA mask to 64 failed.\n"); if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32))) { Loading Loading
drivers/usb/dwc3/dwc3-msm.c +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ #include <linux/usb/dwc3-msm.h> #include <linux/usb/role.h> #include <linux/usb/redriver.h> #include <linux/dma-iommu.h> #ifdef CONFIG_QGKI_MSM_BOOT_TIME_MARKER #include <soc/qcom/boot_stats.h> #endif Loading Loading @@ -4803,6 +4804,9 @@ static int dwc3_msm_probe(struct platform_device *pdev) "qcom,use-pdc-interrupts"); dwc3_set_notifier(&dwc3_msm_notify_event); if (of_property_read_bool(node, "qcom,iommu-best-fit-algo")) iommu_dma_enable_best_fit_algo(dev); if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { dev_err(&pdev->dev, "setting DMA mask to 64 failed.\n"); if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32))) { Loading