|
|
@@ -26,7 +26,7 @@ Signed-off-by: Linus Walleij <[email protected]>
|
|
|
|
|
|
#include <asm/byteorder.h>
|
|
|
#include <asm/irq.h>
|
|
|
-@@ -5635,7 +5636,7 @@ static int fotg210_hcd_probe(struct plat
|
|
|
+@@ -5639,7 +5640,7 @@ static int fotg210_hcd_probe(struct plat
|
|
|
hcd->regs = devm_ioremap_resource(&pdev->dev, res);
|
|
|
if (IS_ERR(hcd->regs)) {
|
|
|
retval = PTR_ERR(hcd->regs);
|
|
|
@@ -35,7 +35,7 @@ Signed-off-by: Linus Walleij <[email protected]>
|
|
|
}
|
|
|
|
|
|
hcd->rsrc_start = res->start;
|
|
|
-@@ -5645,22 +5646,35 @@ static int fotg210_hcd_probe(struct plat
|
|
|
+@@ -5649,22 +5650,35 @@ static int fotg210_hcd_probe(struct plat
|
|
|
|
|
|
fotg210->caps = hcd->regs;
|
|
|
|
|
|
@@ -74,7 +74,7 @@ Signed-off-by: Linus Walleij <[email protected]>
|
|
|
usb_put_hcd(hcd);
|
|
|
fail_create_hcd:
|
|
|
dev_err(dev, "init %s fail, %d\n", dev_name(dev), retval);
|
|
|
-@@ -5676,6 +5690,10 @@ static int fotg210_hcd_remove(struct pla
|
|
|
+@@ -5680,6 +5694,10 @@ static int fotg210_hcd_remove(struct pla
|
|
|
{
|
|
|
struct device *dev = &pdev->dev;
|
|
|
struct usb_hcd *hcd = dev_get_drvdata(dev);
|