On 2/2/2016 6:01 AM, Sergei Shtylyov wrote: > Hello. > > On 2/2/2016 4:42 AM, John Youn wrote: > >> Enable SuperSpeedPlus by programming the DCFG.speed and after >> enumerating, set gadget->speed appropriately. >> >> Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx> >> --- >> drivers/usb/dwc3/gadget.c | 14 ++++++++++++-- >> 1 file changed, 12 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c >> index 1ba4c2e..b4baccc 100644 >> --- a/drivers/usb/dwc3/gadget.c >> +++ b/drivers/usb/dwc3/gadget.c >> @@ -1629,8 +1629,13 @@ static int dwc3_gadget_start(struct usb_gadget *g, >> case USB_SPEED_HIGH: >> reg |= DWC3_DSTS_HIGHSPEED; >> break; >> - case USB_SPEED_SUPER: /* FALLTHROUGH */ >> - case USB_SPEED_UNKNOWN: /* FALTHROUGH */ >> + case USB_SPEED_SUPER: >> + reg |= DWC3_DSTS_SUPERSPEED; >> + break; >> + case USB_SPEED_SUPER_PLUS: >> + reg |= DWC3_DSTS_SUPERSPEED_PLUS; >> + break; >> + case USB_SPEED_UNKNOWN: >> default: >> reg |= DWC3_DSTS_SUPERSPEED; > > Why repeat? I suppose there's no real reason. I'll fix it with the next revision to make it more concise. Regards, John -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html