|
@@ -875,12 +875,13 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
dwc->hird_threshold = hird_threshold
|
|
dwc->hird_threshold = hird_threshold
|
|
| (dwc->is_utmi_l1_suspend << 4);
|
|
| (dwc->is_utmi_l1_suspend << 4);
|
|
|
|
|
|
|
|
+ platform_set_drvdata(pdev, dwc);
|
|
|
|
+
|
|
ret = dwc3_core_get_phy(dwc);
|
|
ret = dwc3_core_get_phy(dwc);
|
|
if (ret)
|
|
if (ret)
|
|
goto err0;
|
|
goto err0;
|
|
|
|
|
|
spin_lock_init(&dwc->lock);
|
|
spin_lock_init(&dwc->lock);
|
|
- platform_set_drvdata(pdev, dwc);
|
|
|
|
|
|
|
|
if (!dev->dma_mask) {
|
|
if (!dev->dma_mask) {
|
|
dev->dma_mask = dev->parent->dma_mask;
|
|
dev->dma_mask = dev->parent->dma_mask;
|