From ffab952c8608df0fede4727bf35d84fb32a2fdef Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Thu, 23 Sep 2010 18:34:27 -0700 Subject: [PATCH] usb: gadget: android: Remove WAKEUP flag from bmAttributes Remove USB_CONFIG_ATT_WAKEUP from bmAttributes as we don't support remote wakeup. This fixes an issue with the USB 2.0 compliance test tool. Change-Id: Ic15e44710069f3f05ace6a82bbfa2b85a3649027 Signed-off-by: Benoit Goby --- drivers/usb/gadget/android.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index 8f8b6376681c..ed4f5739cb9c 100644 --- a/drivers/usb/gadget/android.c +++ b/drivers/usb/gadget/android.c @@ -249,9 +249,6 @@ static int android_bind(struct usb_composite_dev *cdev) strings_dev[STRING_SERIAL_IDX].id = id; device_desc.iSerialNumber = id; - if (gadget->ops->wakeup) - android_config_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; - /* register our configuration */ ret = usb_add_config(cdev, &android_config_driver); if (ret) { -- 2.34.1