usb: dwc3: debug: Print GET_STATUS(device) tracepoint
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>
This commit is contained in:
parent
b873e2d0ea
commit
dd24f9b604
@ -250,6 +250,9 @@ static inline void dwc3_decode_get_status(__u8 t, __u16 i, __u16 l, char *str,
|
|||||||
size_t size)
|
size_t size)
|
||||||
{
|
{
|
||||||
switch (t & USB_RECIP_MASK) {
|
switch (t & USB_RECIP_MASK) {
|
||||||
|
case USB_RECIP_DEVICE:
|
||||||
|
snprintf(str, size, "Get Device Status(Length = %d)", l);
|
||||||
|
break;
|
||||||
case USB_RECIP_INTERFACE:
|
case USB_RECIP_INTERFACE:
|
||||||
snprintf(str, size, "Get Interface Status(Intf = %d, Length = %d)",
|
snprintf(str, size, "Get Interface Status(Intf = %d, Length = %d)",
|
||||||
i, l);
|
i, l);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user