aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/oxu210hp-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/oxu210hp-hcd.c')
-rw-r--r--drivers/usb/host/oxu210hp-hcd.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
index 3b38030b02a8..4f0f0339532f 100644
--- a/drivers/usb/host/oxu210hp-hcd.c
+++ b/drivers/usb/host/oxu210hp-hcd.c
@@ -1399,8 +1399,8 @@ static struct ehci_qh *qh_make(struct oxu_hcd *oxu,
1399 * But interval 1 scheduling is simpler, and 1399 * But interval 1 scheduling is simpler, and
1400 * includes high bandwidth. 1400 * includes high bandwidth.
1401 */ 1401 */
1402 dbg("intr period %d uframes, NYET!", 1402 oxu_dbg(oxu, "intr period %d uframes, NYET!\n",
1403 urb->interval); 1403 urb->interval);
1404 goto done; 1404 goto done;
1405 } 1405 }
1406 } else { 1406 } else {
@@ -1471,7 +1471,7 @@ static struct ehci_qh *qh_make(struct oxu_hcd *oxu,
1471 } 1471 }
1472 break; 1472 break;
1473 default: 1473 default:
1474 dbg("bogus dev %p speed %d", urb->dev, urb->dev->speed); 1474 oxu_dbg(oxu, "bogus dev %p speed %d\n", urb->dev, urb->dev->speed);
1475done: 1475done:
1476 qh_put(qh); 1476 qh_put(qh);
1477 return NULL; 1477 return NULL;
@@ -2307,7 +2307,7 @@ restart:
2307 qh_put(temp.qh); 2307 qh_put(temp.qh);
2308 break; 2308 break;
2309 default: 2309 default:
2310 dbg("corrupt type %d frame %d shadow %p", 2310 oxu_dbg(oxu, "corrupt type %d frame %d shadow %p\n",
2311 type, frame, q.ptr); 2311 type, frame, q.ptr);
2312 q.ptr = NULL; 2312 q.ptr = NULL;
2313 } 2313 }
@@ -2991,8 +2991,9 @@ static int oxu_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
2991 /* shouldn't happen often, but ... 2991 /* shouldn't happen often, but ...
2992 * FIXME kill those tds' urbs 2992 * FIXME kill those tds' urbs
2993 */ 2993 */
2994 err("can't reschedule qh %p, err %d", 2994 dev_err(hcd->self.controller,
2995 qh, status); 2995 "can't reschedule qh %p, err %d\n", qh,
2996 status);
2996 } 2997 }
2997 return status; 2998 return status;
2998 } 2999 }