Skip to content

Commit fd80731

Browse files
oneukumgregkh
authored andcommitted
usb: gadget: printer: SS+ support
We need to treat super speed plus as super speed, not the default, which is full speed. Signed-off-by: Oliver Neukum <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6ba59ff commit fd80731

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/gadget/function/f_printer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ static inline struct usb_endpoint_descriptor *ep_desc(struct usb_gadget *gadget,
213213
struct usb_endpoint_descriptor *ss)
214214
{
215215
switch (gadget->speed) {
216+
case USB_SPEED_SUPER_PLUS:
216217
case USB_SPEED_SUPER:
217218
return ss;
218219
case USB_SPEED_HIGH:

0 commit comments

Comments
 (0)