xhci: switch debug printf to tracepoint
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Feb 2014 12:06:38 +0000 (13:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 18 Feb 2014 14:39:13 +0000 (15:39 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c

index 8261d002964afdeb7fa4748c67272ff6b55b2d5c..12575ddd3b8767fe2e2cededa8de01f55120d429 100644 (file)
@@ -2038,9 +2038,7 @@ static int xhci_submit(XHCIState *xhci, XHCITransfer *xfer, XHCIEPContext *epctx
         }
         break;
     default:
-        fprintf(stderr, "xhci: unknown or unhandled EP "
-                "(type %d, in %d, ep %02x)\n",
-                epctx->type, xfer->in_xfer, xfer->epid);
+        trace_usb_xhci_unimplemented("endpoint type", epctx->type);
         return -1;
     }