1 From 1407bf13e3bf5f1168484c3e68b6ef9d8cf2bc72 Mon Sep 17 00:00:00 2001
2 From: Felipe Balbi <balbi@ti.com>
3 Date: Mon, 16 Nov 2015 16:06:37 -0600
4 Subject: usb: dwc3: core: purge dev_dbg() calls
6 The last few dev_dbg() messages are converted to
7 tracepoints and we can finally ignore dev_dbg()
8 messages during debug sessions.
10 Signed-off-by: Felipe Balbi <balbi@ti.com>
12 drivers/usb/dwc3/core.c | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
15 --- a/drivers/usb/dwc3/core.c
16 +++ b/drivers/usb/dwc3/core.c
17 @@ -272,7 +272,8 @@ static int dwc3_event_buffers_setup(stru
19 for (n = 0; n < dwc->num_event_buffers; n++) {
20 evt = dwc->ev_buffs[n];
21 - dev_dbg(dwc->dev, "Event buf %p dma %08llx length %d\n",
22 + dwc3_trace(trace_dwc3_core,
23 + "Event buf %p dma %08llx length %d\n",
24 evt->buf, (unsigned long long) evt->dma,
27 @@ -608,12 +609,13 @@ static int dwc3_core_init(struct dwc3 *d
28 reg |= DWC3_GCTL_GBLHIBERNATIONEN;
31 - dev_dbg(dwc->dev, "No power optimization available\n");
32 + dwc3_trace(trace_dwc3_core, "No power optimization available\n");
35 /* check if current dwc3 is on simulation board */
36 if (dwc->hwparams.hwparams6 & DWC3_GHWPARAMS6_EN_FPGA) {
37 - dev_dbg(dwc->dev, "it is on FPGA board\n");
38 + dwc3_trace(trace_dwc3_core,
39 + "running on FPGA platform\n");