usb: gadget: composite: Update debug message for SuperSpeedPlus
authorJohn Youn <John.Youn@synopsys.com>
Sat, 6 Feb 2016 01:07:44 +0000 (17:07 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:25 +0000 (15:14 +0200)
Update the debug message reporting the speeds that a configuration
supports for SuperSpeedPlus.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/composite.c

index 60b6e4b4c7e5772aa35a2725881e4d417366830c..64ad1bebb0faba74b711fab8ec91d24fe47b5326 100644 (file)
@@ -891,8 +891,9 @@ int usb_add_config(struct usb_composite_dev *cdev,
        } else {
                unsigned        i;
 
-               DBG(cdev, "cfg %d/%p speeds:%s%s%s\n",
+               DBG(cdev, "cfg %d/%p speeds:%s%s%s%s\n",
                        config->bConfigurationValue, config,
+                       config->superspeed_plus ? " superplus" : "",
                        config->superspeed ? " super" : "",
                        config->highspeed ? " high" : "",
                        config->fullspeed