aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hub.c
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-08-29 04:45:10 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-30 15:02:07 -0400
commitfea26ef095cc74f1e11c046a7bf4a29160f8ffb3 (patch)
tree97b632bde8ced40413e96ad567a169acd6d85260 /drivers/usb/host/ehci-hub.c
parent2eb86032a1f6743072e52b651c9439fd4ab93573 (diff)
ehci: remove ehci_vdbg() verbose debugging statements
This patch removes ehci_vdbg debugging statements from EHCI host controller driver because they produce too much information, lowering the signal to noise ratio when debugging, and because they are not used anymore. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
-rw-r--r--drivers/usb/host/ehci-hub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index 3bf9f482710c..835fc0844a66 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -211,8 +211,6 @@ static void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci,
211 else 211 else
212 t2 |= PORT_WKOC_E | PORT_WKCONN_E; 212 t2 |= PORT_WKOC_E | PORT_WKCONN_E;
213 } 213 }
214 ehci_vdbg(ehci, "port %d, %08x -> %08x\n",
215 port + 1, t1, t2);
216 ehci_writel(ehci, t2, reg); 214 ehci_writel(ehci, t2, reg);
217 } 215 }
218 216
@@ -302,8 +300,6 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
302 } 300 }
303 301
304 if (t1 != t2) { 302 if (t1 != t2) {
305 ehci_vdbg (ehci, "port %d, %08x -> %08x\n",
306 port + 1, t1, t2);
307 ehci_writel(ehci, t2, reg); 303 ehci_writel(ehci, t2, reg);
308 changed = 1; 304 changed = 1;
309 } 305 }
@@ -483,7 +479,6 @@ static int ehci_bus_resume (struct usb_hcd *hcd)
483 if (test_bit(i, &resume_needed)) { 479 if (test_bit(i, &resume_needed)) {
484 temp &= ~(PORT_RWC_BITS | PORT_SUSPEND | PORT_RESUME); 480 temp &= ~(PORT_RWC_BITS | PORT_SUSPEND | PORT_RESUME);
485 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); 481 ehci_writel(ehci, temp, &ehci->regs->port_status [i]);
486 ehci_vdbg (ehci, "resumed port %d\n", i + 1);
487 } 482 }
488 } 483 }
489 484
@@ -1204,7 +1199,6 @@ static int ehci_hub_control (
1204 wIndex + 1); 1199 wIndex + 1);
1205 temp |= PORT_OWNER; 1200 temp |= PORT_OWNER;
1206 } else { 1201 } else {
1207 ehci_vdbg (ehci, "port %d reset\n", wIndex + 1);
1208 temp |= PORT_RESET; 1202 temp |= PORT_RESET;
1209 temp &= ~PORT_PE; 1203 temp &= ~PORT_PE;
1210 1204