]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
usb: dwc3: debug: decode a few more features
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 9 Nov 2017 13:00:46 +0000 (15:00 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 11 Dec 2017 10:36:48 +0000 (12:36 +0200)
We were missing U1, U2 and LTM Enable features. Let's decode them.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/debug.h

index 368f8e59219acc433f3bca66861c855003576302..bfb90c52d8fc9220f9acc6d520b9c6cd87ac52a4 100644 (file)
@@ -247,6 +247,15 @@ static inline void dwc3_decode_set_clear_feature(__u8 t, __u8 b, __u16 v,
                                case USB_DEVICE_TEST_MODE:
                                        s = "Test Mode";
                                        break;
+                               case USB_DEVICE_U1_ENABLE:
+                                       s = "U1 Enable";
+                                       break;
+                               case USB_DEVICE_U2_ENABLE:
+                                       s = "U2 Enable";
+                                       break;
+                               case USB_DEVICE_LTM_ENABLE:
+                                       s = "LTM Enable";
+                                       break;
                                default:
                                        s = "UNKNOWN";
                                } s; }),