aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/fusbh200-hcd.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2013-11-18 07:23:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 13:31:21 -0500
commit0b5fa3b21fac848de0df45c5f5e7f2086ee8e7f2 (patch)
treeea5e171548a7e11a206a8875308f09053dd3d431 /drivers/usb/host/fusbh200-hcd.c
parentc9472a2912e4ace063961c6f34ce80b105d6c1c6 (diff)
fusbh200: kill fusbh200_vdbg
With dynamic debugging this log level is no longer supported. The decision which messages are interesting is done in user space. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/fusbh200-hcd.c')
-rw-r--r--drivers/usb/host/fusbh200-hcd.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/usb/host/fusbh200-hcd.c b/drivers/usb/host/fusbh200-hcd.c
index b561e87b1fae..d5e379b8f73d 100644
--- a/drivers/usb/host/fusbh200-hcd.c
+++ b/drivers/usb/host/fusbh200-hcd.c
@@ -104,12 +104,6 @@ MODULE_PARM_DESC(hird, "host initiated resume duration, +1 for each 75us");
104#define fusbh200_warn(fusbh200, fmt, args...) \ 104#define fusbh200_warn(fusbh200, fmt, args...) \
105 dev_warn (fusbh200_to_hcd(fusbh200)->self.controller , fmt , ## args ) 105 dev_warn (fusbh200_to_hcd(fusbh200)->self.controller , fmt , ## args )
106 106
107#ifdef VERBOSE_DEBUG
108# define fusbh200_vdbg fusbh200_dbg
109#else
110 static inline void fusbh200_vdbg(struct fusbh200_hcd *fusbh200, ...) {}
111#endif
112
113/* check the values in the HCSPARAMS register 107/* check the values in the HCSPARAMS register
114 * (host controller _Structural_ parameters) 108 * (host controller _Structural_ parameters)
115 * see EHCI spec, Table 2-4 for each value 109 * see EHCI spec, Table 2-4 for each value
@@ -1309,7 +1303,7 @@ static void fusbh200_iaa_watchdog(struct fusbh200_hcd *fusbh200)
1309 fusbh200_writel(fusbh200, STS_IAA, &fusbh200->regs->status); 1303 fusbh200_writel(fusbh200, STS_IAA, &fusbh200->regs->status);
1310 } 1304 }
1311 1305
1312 fusbh200_vdbg(fusbh200, "IAA watchdog: status %x cmd %x\n", 1306 fusbh200_dbg(fusbh200, "IAA watchdog: status %x cmd %x\n",
1313 status, cmd); 1307 status, cmd);
1314 end_unlink_async(fusbh200); 1308 end_unlink_async(fusbh200);
1315 } 1309 }
@@ -1759,7 +1753,7 @@ static int fusbh200_hub_control (
1759 * which can be fine if this root hub has a 1753 * which can be fine if this root hub has a
1760 * transaction translator built in. 1754 * transaction translator built in.
1761 */ 1755 */
1762 fusbh200_vdbg (fusbh200, "port %d reset\n", wIndex + 1); 1756 fusbh200_dbg(fusbh200, "port %d reset\n", wIndex + 1);
1763 temp |= PORT_RESET; 1757 temp |= PORT_RESET;
1764 temp &= ~PORT_PE; 1758 temp &= ~PORT_PE;
1765 1759
@@ -2242,7 +2236,7 @@ static int qtd_copy_status (
2242 status = -EPROTO; 2236 status = -EPROTO;
2243 } 2237 }
2244 2238
2245 fusbh200_vdbg (fusbh200, 2239 fusbh200_dbg(fusbh200,
2246 "dev%d ep%d%s qtd token %08x --> status %d\n", 2240 "dev%d ep%d%s qtd token %08x --> status %d\n",
2247 usb_pipedevice (urb->pipe), 2241 usb_pipedevice (urb->pipe),
2248 usb_pipeendpoint (urb->pipe), 2242 usb_pipeendpoint (urb->pipe),
@@ -4529,7 +4523,7 @@ static void itd_link_urb(
4529 if (unlikely (list_empty(&stream->td_list))) { 4523 if (unlikely (list_empty(&stream->td_list))) {
4530 fusbh200_to_hcd(fusbh200)->self.bandwidth_allocated 4524 fusbh200_to_hcd(fusbh200)->self.bandwidth_allocated
4531 += stream->bandwidth; 4525 += stream->bandwidth;
4532 fusbh200_vdbg (fusbh200, 4526 fusbh200_dbg(fusbh200,
4533 "schedule devp %s ep%d%s-iso period %d start %d.%d\n", 4527 "schedule devp %s ep%d%s-iso period %d start %d.%d\n",
4534 urb->dev->devpath, stream->bEndpointAddress & 0x0f, 4528 urb->dev->devpath, stream->bEndpointAddress & 0x0f,
4535 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out", 4529 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out",
@@ -4660,7 +4654,7 @@ static bool itd_complete(struct fusbh200_hcd *fusbh200, struct fusbh200_itd *itd
4660 if (unlikely(list_is_singular(&stream->td_list))) { 4654 if (unlikely(list_is_singular(&stream->td_list))) {
4661 fusbh200_to_hcd(fusbh200)->self.bandwidth_allocated 4655 fusbh200_to_hcd(fusbh200)->self.bandwidth_allocated
4662 -= stream->bandwidth; 4656 -= stream->bandwidth;
4663 fusbh200_vdbg (fusbh200, 4657 fusbh200_dbg(fusbh200,
4664 "deschedule devp %s ep%d%s-iso\n", 4658 "deschedule devp %s ep%d%s-iso\n",
4665 dev->devpath, stream->bEndpointAddress & 0x0f, 4659 dev->devpath, stream->bEndpointAddress & 0x0f,
4666 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out"); 4660 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out");