Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ccad203 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Add USB super speed companion descriptor"

parents 0466e2a7 53c0c5fa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -70,10 +70,19 @@ static struct usb_endpoint_descriptor charger_ss_in_ep_desc = {
	.bInterval		= 16,
};

static struct usb_ss_ep_comp_descriptor charger_ss_intr_comp_desc = {
	.bLength		= sizeof(charger_ss_intr_comp_desc),
	.bDescriptorType	= USB_DT_SS_ENDPOINT_COMP,
	/* the following 2 values can be tweaked if necessary */
	/* .bMaxBurst		= 0, */
	/* .bmAttributes	= 0, */
};

static struct usb_descriptor_header *charger_ss_descriptors[] = {
	(struct usb_descriptor_header *)&charger_interface_desc,
	(struct usb_descriptor_header *)&charger_hid_desc,
	(struct usb_descriptor_header *)&charger_ss_in_ep_desc,
	(struct usb_descriptor_header *)&charger_ss_intr_comp_desc,
	NULL,
};