Skip to contentSkip to conversation

ehci-mxc: remove incorrect comment

PATCH New Wolfgang Grandegger 2 participants 2 messages Oct 17, 2011 – Oct 31, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ehci-mxc: remove incorrect comment

The USB port to be used is determined by CONFIG_MXC_USB_PORT. So, it appears that the comment is not correct. Remove it.

---
 drivers/usb/host/ehci-mxc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/usb/host/ehci-mxc.c +0 -1
index a0cfbb7..f403d49 100644
@@ -120,7 +120,6 @@ int ehci_hcd_init(void)
 
 	udelay(80);
 
-	/* Take USB2 */
 	ehci = (struct usb_ehci *)(IMX_USB_BASE +
 		(0x200 * CONFIG_MXC_USB_PORT));
 	hccr = (struct ehci_hccr *)((uint32_t)&ehci->caplength);
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 ehci-mxc: remove incorrect comment

Quoted 8 lines · Wolfgang Grandegger

The USB port to be used is determined by CONFIG_MXC_USB_PORT. So, it appears that the comment is not correct. Remove it.

---
 drivers/usb/host/ehci-mxc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================