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 <oneukum@suse.com> Cc: stable <stable@kernel.org> Link: https://lore.kernel.org/r/20240620093800.28901-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6ba59ff commit fd80731

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)