Skip to contentSkip to conversation

usb: gadget: printer: SS+ support

PATCH New Oliver Neukum 1 participant 1 message Jun 20, 2024 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: printer: SS+ support

We need to treat super speed plus as super speed, not the default, which is full speed.

---
 drivers/usb/gadget/function/f_printer.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/gadget/function/f_printer.c +1 -0
index ba7d180cc9e6..4c0b7c2970f1 100644
@@ -213,6 +213,7 @@ static inline struct usb_endpoint_descriptor *ep_desc(struct usb_gadget *gadget,
 					struct usb_endpoint_descriptor *ss)
 {
 	switch (gadget->speed) {
+	case USB_SPEED_SUPER_PLUS:
 	case USB_SPEED_SUPER:
 		return ss;
 	case USB_SPEED_HIGH:
Signature · 1 line
2.45.1