summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/composite.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-19 17:04:40 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-19 17:04:40 -0800
commit7c8408bb10fbc336cbb6bc8b0596c440ab40ae48 (patch)
tree388b67a75087e0bf09a8a1c323c962571d30082e /drivers/usb/gadget/composite.c
parent14c47314177df94f6a6ee99c2258218ee138e473 (diff)
parente74a2a20ffbd11e09b4960e596804f725d07e11f (diff)
Merge "usb: gadget: composite: enable BESL support"
Diffstat (limited to 'drivers/usb/gadget/composite.c')
-rw-r--r--drivers/usb/gadget/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 9360b0613154..30edea3ba556 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -675,7 +675,7 @@ static int bos_desc(struct usb_composite_dev *cdev)
usb_ext->bLength = USB_DT_USB_EXT_CAP_SIZE;
usb_ext->bDescriptorType = USB_DT_DEVICE_CAPABILITY;
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)) {
/*