summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2016-10-01 16:22:24 +0200
committerRafał Miłecki <rafal@milecki.pl>2016-10-01 16:52:08 +0200
commit7120a430133b6cfd90ab2b48965323946366e013 (patch)
treed952ba6a37486bcedd786fbc3e9903fa44645968 /target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch
parentd5dcb1bf97c421fe59925dba8e9197a4b7d67536 (diff)
downloadmtk-20170518-7120a430133b6cfd90ab2b48965323946366e013.zip
mtk-20170518-7120a430133b6cfd90ab2b48965323946366e013.tar.gz
mtk-20170518-7120a430133b6cfd90ab2b48965323946366e013.tar.bz2
bcm53xx: add patch specifying USB controllers in DT
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch b/target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch
index c7b6586..37d5b1e 100644
--- a/target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch
+++ b/target/linux/bcm53xx/patches-4.4/197-USB-bcma-add-USB-3.0-support.patch
@@ -192,10 +192,11 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
static int bcma_hcd_usb30_init(struct bcma_hcd_device *bcma_hcd)
{
struct bcma_device *core = bcma_hcd->core;
-@@ -419,6 +569,14 @@ static int bcma_hcd_usb30_init(struct bc
+@@ -419,7 +569,13 @@ static int bcma_hcd_usb30_init(struct bc
bcma_core_enable(core, 0);
+- of_platform_default_populate(dev->of_node, NULL, dev);
+ bcma_hcd_usb30_phy_init(bcma_hcd);
+
+ bcma_hcd->xhci_dev = bcma_hcd_create_pdev(core, "xhci-hcd", core->addr,
@@ -203,11 +204,10 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+ sizeof(xhci_pdata));
+ if (IS_ERR(bcma_hcd->ohci_dev))
+ return PTR_ERR(bcma_hcd->ohci_dev);
-+
- of_platform_default_populate(dev->of_node, NULL, dev);
return 0;
-@@ -471,11 +629,14 @@ static void bcma_hcd_remove(struct bcma_
+ }
+@@ -471,11 +627,14 @@ static void bcma_hcd_remove(struct bcma_
struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev);
struct platform_device *ohci_dev = usb_dev->ohci_dev;
struct platform_device *ehci_dev = usb_dev->ehci_dev;