Skip to contentSkip to conversation

usb: ehci: don't print debug output

PATCH New Lucas Stach 1 participant 1 message Sep 27, 2012

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

PATCH v3 1/1 usb: ehci: don't print debug output

This is clearly some sort of debug output and should not be printed during normal operation.

---
v2,v3: rebased on top of u-boot-usb/master

---
 drivers/usb/host/ehci-hcd.c | 2 +-

1 Datei ge?ndert, 1 Zeile hinzugef?gt(+), 1 Zeile entfernt(-)

drivers/usb/host/ehci-hcd.c +1 -1
index 8537201..d90e94d 100644
@@ -874,7 +874,7 @@ int usb_lowlevel_init(int index, void **controller)
 
 	reg = ehci_readl(&ehcic[index].hccr->cr_hcsparams);
 	descriptor.hub.bNbrPorts = HCS_N_PORTS(reg);
-	printf("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts);
+	debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts);
 	/* Port Indicators */
 	if (HCS_INDICATOR(reg))
 		put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics)
Signature · 1 line
1.7.11.4