UPSTREAM: usb: dwc3: omap: drop dma_mask configuration
[firefly-linux-kernel-4.4.55.git] / drivers / usb / dwc3 / dwc3-omap.c
index 55da2c7f727f95e678f37462cdba5c532d659936..f0e5a68b709f5f82257b875438822996dc0bdb2f 100644 (file)
@@ -331,8 +331,6 @@ static void dwc3_omap_disable_irqs(struct dwc3_omap *omap)
        dwc3_omap_write_irqmisc_clr(omap, reg);
 }
 
-static u64 dwc3_omap_dma_mask = DMA_BIT_MASK(32);
-
 static int dwc3_omap_id_notifier(struct notifier_block *nb,
        unsigned long event, void *ptr)
 {
@@ -490,7 +488,6 @@ static int dwc3_omap_probe(struct platform_device *pdev)
        omap->irq       = irq;
        omap->base      = base;
        omap->vbus_reg  = vbus_reg;
-       dev->dma_mask   = &dwc3_omap_dma_mask;
 
        pm_runtime_enable(dev);
        ret = pm_runtime_get_sync(dev);