projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49dfd54
)
usb: host: Fix kernel warning on probe
author
Benoit Goby
<benoit@android.com>
Tue, 10 Aug 2010 23:36:58 +0000
(16:36 -0700)
committer
Colin Cross
<ccross@android.com>
Wed, 6 Oct 2010 23:27:34 +0000
(16:27 -0700)
Change-Id: I6d5b10e047807f9bcb36809672705f8a8b2d11a4
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/host/ehci-tegra.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-tegra.c
b/drivers/usb/host/ehci-tegra.c
index d9ea852ccc8918360d9a2d723e479f139f724230..c0461bce7e36374f6350f26d8659d63df5fc546d 100644
(file)
--- a/
drivers/usb/host/ehci-tegra.c
+++ b/
drivers/usb/host/ehci-tegra.c
@@
-456,14
+456,14
@@
static int tegra_ehci_probe(struct platform_device *pdev)
tegra->transceiver = otg_get_transceiver();
#endif
- tegra->host_reinited = 1;
-
err = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
if (err != 0) {
dev_err(&pdev->dev, "Failed to add USB HCD\n");
goto fail;
}
+ tegra->host_reinited = 1;
+
if (tegra->transceiver) {
otg_set_host(tegra->transceiver, (struct usb_bus *)hcd);