From: Felipe Balbi Date: Mon, 16 Nov 2015 22:08:09 +0000 (-0600) Subject: UPSTREAM: usb: dwc3: ep0: purge dev_dbg() calls X-Git-Tag: firefly_0821_release~3279 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4bb0aebe84971476b1dde541559c36917aa6258f;p=firefly-linux-kernel-4.4.55.git UPSTREAM: usb: dwc3: ep0: purge dev_dbg() calls The last few dev_dbg() messages are converted to tracepoints and we can finally ignore dev_dbg() messages during debug sessions. Signed-off-by: Felipe Balbi (cherry picked from commit acc38c4970caac17cd81dc941226ed17fe505d73) Change-Id: I9046eeff627c97360cc9903e78fdd8715f95ce28 Signed-off-by: Wu Liang feng --- diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 5320e939e090..3ea2bda0bd4d 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -971,7 +971,7 @@ static void __dwc3_ep0_do_control_data(struct dwc3 *dwc, ret = usb_gadget_map_request(&dwc->gadget, &req->request, dep->number); if (ret) { - dev_dbg(dwc->dev, "failed to map request\n"); + dwc3_trace(trace_dwc3_ep0, "failed to map request\n"); return; } @@ -999,7 +999,7 @@ static void __dwc3_ep0_do_control_data(struct dwc3 *dwc, ret = usb_gadget_map_request(&dwc->gadget, &req->request, dep->number); if (ret) { - dev_dbg(dwc->dev, "failed to map request\n"); + dwc3_trace(trace_dwc3_ep0, "failed to map request\n"); return; }