summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-03-27 08:00:19 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-05-31 05:58:34 -0700
commit7798bb9251068a190af7c1bbf616ad8af01bbe52 (patch)
tree62e56c48fb12a0a04a71542f852f030aab94e76a
parent84e582ad82a1eb610419e700d27c0799837cac0e (diff)
USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2tegra-11.2.7
Signed-off-by: Mike Lockwood <lockwood@android.com> (cherry picked from commit 663abba4c6d83e798d1479298130f34a28dacd8b) Change-Id: I5d1b01fa6e8856c929d13abfa38db732115e9ddc Reviewed-on: http://git-master/r/32892 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-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,