forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/drivers/usb/host/ehci-omap.c
....@@ -24,7 +24,6 @@
2424 #include <linux/slab.h>
2525 #include <linux/usb/ulpi.h>
2626 #include <linux/pm_runtime.h>
27
-#include <linux/gpio.h>
2827 #include <linux/clk.h>
2928 #include <linux/usb.h>
3029 #include <linux/usb/hcd.h>
....@@ -78,6 +77,7 @@
7877
7978 /**
8079 * ehci_hcd_omap_probe - initialize TI-based HCDs
80
+ * @pdev: Pointer to this platform device's information
8181 *
8282 * Allocates basic resources for this USB host controller, and
8383 * then invokes the start() method for the HCD associated with it
....@@ -115,10 +115,8 @@
115115 }
116116
117117 irq = platform_get_irq(pdev, 0);
118
- if (irq < 0) {
119
- dev_err(dev, "EHCI irq failed: %d\n", irq);
118
+ if (irq < 0)
120119 return irq;
121
- }
122120
123121 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
124122 regs = devm_ioremap_resource(dev, res);