usb: ehci: don't print debug output
Subsystems (2)
PATCH 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.
--- 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
@@ -863,7 +863,7 @@ int usb_lowlevel_init(void) reg =ehci_readl (&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)) descriptor.hub.wHubCharacteristics |=0x80 ;
Signature · 1 line
1.7.11.4
PATCH 1/1 usb: ehci: don't print debug output
Dear Lucas Stach,
Quoted 4 lines
This is clearly some sort of debug output and should not be printed during normal operation.
Signed-off-by Lucas Stach <[email protected]>
I think we should apply this ... yet it's been in uboot for so long, so I'd like to hear other people opinion :)
Quoted 9 lines
--- drivers/usb/host/ehci-hcd.c | 2 +-1 Datei ge?ndert, 1 Zeile hinzugef?gt(+), 1 Zeile entfernt(-)
drivers/usb/host/ehci-hcd.c +0
-0
drivers/usb/host/ehci-hcd.c int usb_lowlevel_init(void) · line 869
Quoted 8 lines
drivers/usb/host/ehci-hcd.c +1
-1@@ -863,7 +863,7 @@ int usb_lowlevel_init(void) reg =ehci_readl (&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)) descriptor.hub.wHubCharacteristics |=0x80 ;
Best regards,
Marek Vasut
PATCH 1/1 usb: ehci: don't print debug output
Hi Marek,
Am Donnerstag, den 30.08.2012, 17:47 +0200 schrieb Marek Vasut:
Quoted 10 lines
Dear Lucas Stach,
Quoted 4 lines
This is clearly some sort of debug output and should not be printed during normal operation.
Signed-off-by Lucas Stach <[email protected]>I think we should apply this ... yet it's been in uboot for so long, so I'd like to hear other people opinion :)
Any updates on this one? Seems nobody really cares and it uglyfies output in the multi controller case a lot, so I really wish to see this gone.
Quoted 10 lines
Quoted 10 lines
--- drivers/usb/host/ehci-hcd.c | 2 +-1 Datei ge?ndert, 1 Zeile hinzugef?gt(+), 1 Zeile entfernt(-)
drivers/usb/host/ehci-hcd.c +0
-0@@ -863,7 +863,7 @@ int usb_lowlevel_init(void)
Quoted 11 lines
drivers/usb/host/ehci-hcd.c int usb_lowlevel_init(void) · line 869
Quoted 7 lines
drivers/usb/host/ehci-hcd.c +1
-1reg =ehci_readl (&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)) descriptor.hub.wHubCharacteristics |=0x80 ;Best regards,
Marek Vasut
Thanks,
Lucas