summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/trace.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2018-08-15 07:30:59 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-11-26 08:14:03 +0100
commit1517265228b4ea6b89379fa8e134e62f75ea1dfe (patch)
treeebe4b31465f09303e338b4b56c6045dbf8d3d27d /drivers/usb/dwc3/trace.h
parentusb: dwc3: gadget: return errors from __dwc3_gadget_start_isoc() (diff)
downloadlinux-1517265228b4ea6b89379fa8e134e62f75ea1dfe.tar.xz
linux-1517265228b4ea6b89379fa8e134e62f75ea1dfe.zip
usb: dwc3: trace: log ep commands in hex
They are much more useful in hexadecimal than in decimal. Moreover, generic commands are already logged in hex. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/trace.h')
-rw-r--r--drivers/usb/dwc3/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h
index f22714cce070..50fb6f2d92dd 100644
--- a/drivers/usb/dwc3/trace.h
+++ b/drivers/usb/dwc3/trace.h
@@ -199,7 +199,7 @@ DECLARE_EVENT_CLASS(dwc3_log_gadget_ep_cmd,
__entry->param2 = params->param2;
__entry->cmd_status = cmd_status;
),
- TP_printk("%s: cmd '%s' [%d] params %08x %08x %08x --> status: %s",
+ TP_printk("%s: cmd '%s' [%x] params %08x %08x %08x --> status: %s",
__get_str(name), dwc3_gadget_ep_cmd_string(__entry->cmd),
__entry->cmd, __entry->param0,
__entry->param1, __entry->param2,