Ver código fonte

usb: dwc3: trace: log ep commands in hex

commit 1517265228b4ea6b89379fa8e134e62f75ea1dfe upstream.

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>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Felipe Balbi 6 anos atrás
pai
commit
5224e8462b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/usb/dwc3/trace.h

+ 1 - 1
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,