projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273d720
)
usb: Remove usb_dev_init() from ehci-ppc4xx.c
author
Stefan Roese
<sr@denx.de>
Fri, 26 Nov 2010 14:43:44 +0000
(15:43 +0100)
committer
Remy Bohmer
<linux@bohmer.net>
Fri, 26 Nov 2010 20:24:57 +0000
(21:24 +0100)
Calling usb_dev_init() from within the EHCI host driver is wrong.
The EHCI host driver should have no dependency/interconnection to the
USB device driver.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
drivers/usb/host/ehci-ppc4xx.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-ppc4xx.c
b/drivers/usb/host/ehci-ppc4xx.c
index
946a0a0
..
1179919
100644
(file)
--- a/
drivers/usb/host/ehci-ppc4xx.c
+++ b/
drivers/usb/host/ehci-ppc4xx.c
@@
-34,7
+34,6
@@
int ehci_hcd_init(void)
hccr = (struct ehci_hccr *)(CONFIG_SYS_PPC4XX_USB_ADDR);
hcor = (struct ehci_hcor *)((uint32_t) hccr +
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
- usb_dev_init();
return 0;
}