projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efafe6f
)
[PATCH] USB: Zero driver: Removed duplicated code
author
Franck Bui-Huu
<vagabon.xyz@gmail.com>
Tue, 7 Feb 2006 08:06:17 +0000
(09:06 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Mar 2006 22:49:57 +0000
(14:49 -0800)
Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/zero.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/zero.c
b/drivers/usb/gadget/zero.c
index ae7a1c0f57488ca8f28533d767a21e61f8ee7143..5e9fe8a70543318c68fbf19947443f1cef9bcd05 100644
(file)
--- a/
drivers/usb/gadget/zero.c
+++ b/
drivers/usb/gadget/zero.c
@@
-1224,12
+1224,6
@@
autoconf_fail:
loopback_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
}
- if (gadget->is_otg) {
- otg_descriptor.bmAttributes |= USB_OTG_HNP,
- source_sink_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
- loopback_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
- }
-
usb_gadget_set_selfpowered (gadget);
init_timer (&dev->resume);