projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b873e2d
)
usb: dwc3: debug: Print GET_STATUS(device) tracepoint
author
Thinh Nguyen
<Thinh.Nguyen@synopsys.com>
Thu, 25 Apr 2019 21:06:10 +0000
(14:06 -0700)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:49 +0000
(09:13 +0300)
DWC3 is missing the printing of control request GET_STATUS(device)
tracepoint. This patch prints that.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/debug.h
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/debug.h
b/drivers/usb/dwc3/debug.h
index
6759a7e
..
068259f
100644
(file)
--- a/
drivers/usb/dwc3/debug.h
+++ b/
drivers/usb/dwc3/debug.h
@@
-250,6
+250,9
@@
static inline void dwc3_decode_get_status(__u8 t, __u16 i, __u16 l, char *str,
size_t size)
{
switch (t & USB_RECIP_MASK) {
+ case USB_RECIP_DEVICE:
+ snprintf(str, size, "Get Device Status(Length = %d)", l);
+ break;
case USB_RECIP_INTERFACE:
snprintf(str, size, "Get Interface Status(Intf = %d, Length = %d)",
i, l);