summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_accessory.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/f_accessory.c')
-rw-r--r--drivers/usb/gadget/f_accessory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_accessory.c b/drivers/usb/gadget/f_accessory.c
index 38918cdf6c5b..ad3c1738336f 100644
--- a/drivers/usb/gadget/f_accessory.c
+++ b/drivers/usb/gadget/f_accessory.c
@@ -92,7 +92,7 @@ static struct usb_interface_descriptor acc_interface_desc = {
.bLength = USB_DT_INTERFACE_SIZE,
.bDescriptorType = USB_DT_INTERFACE,
.bInterfaceNumber = 0,
- .bNumEndpoints = 3,
+ .bNumEndpoints = 2,
.bInterfaceClass = USB_CLASS_VENDOR_SPEC,
.bInterfaceSubClass = USB_SUBCLASS_VENDOR_SPEC,
.bInterfaceProtocol = 0,