From: Heikki Krogerus <heikki.kroge...@linux.intel.com>

So they are available when ULPI interface support is added.

Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Acked-by: David Cohen <david.a.co...@linux.intel.com>
Signed-off-by: Felipe Balbi <ba...@ti.com>
(cherry picked from commit 2917e7181589f859ac1e00ba1b3decbbfc2549bb)
Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.moha...@intel.com>
---
 drivers/usb/dwc3/core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index ab198ed..786c66a 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -882,6 +882,7 @@ static int dwc3_probe(struct platform_device *pdev)
                | (dwc->is_utmi_l1_suspend << 4);
 
        platform_set_drvdata(pdev, dwc);
+       dwc3_cache_hwparams(dwc);
 
        ret = dwc3_core_get_phy(dwc);
        if (ret)
@@ -899,8 +900,6 @@ static int dwc3_probe(struct platform_device *pdev)
        pm_runtime_get_sync(dev);
        pm_runtime_forbid(dev);
 
-       dwc3_cache_hwparams(dwc);
-
        ret = dwc3_alloc_event_buffers(dwc, DWC3_EVENT_BUFFERS_SIZE);
        if (ret) {
                dev_err(dwc->dev, "failed to allocate event buffers\n");
-- 
1.9.1

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to