Merge "usb: gadget: composite: enable BESL support"
This commit is contained in:
commit
7c8408bb10
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ static int bos_desc(struct usb_composite_dev *cdev)
|
||||||
usb_ext->bLength = USB_DT_USB_EXT_CAP_SIZE;
|
usb_ext->bLength = USB_DT_USB_EXT_CAP_SIZE;
|
||||||
usb_ext->bDescriptorType = USB_DT_DEVICE_CAPABILITY;
|
usb_ext->bDescriptorType = USB_DT_DEVICE_CAPABILITY;
|
||||||
usb_ext->bDevCapabilityType = USB_CAP_TYPE_EXT;
|
usb_ext->bDevCapabilityType = USB_CAP_TYPE_EXT;
|
||||||
usb_ext->bmAttributes = cpu_to_le32(USB_LPM_SUPPORT);
|
usb_ext->bmAttributes = cpu_to_le32(USB_LPM_SUPPORT | USB_BESL_SUPPORT);
|
||||||
|
|
||||||
if (gadget_is_superspeed(cdev->gadget)) {
|
if (gadget_is_superspeed(cdev->gadget)) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue