USB: Disable file_storage USB_CONFIG_ATT_WAKEUP
Disable file_storage USB_CONFIG_ATT_WAKEUP as it requires user interaction during Chapter 9 tests. Signed-off-by: Tony Lindgren <tony@atomide.com Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
d23a13779f
Коммит
020363384a
|
@ -3963,8 +3963,7 @@ static int __init fsg_bind(struct usb_gadget *gadget)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (gadget->is_otg) {
|
if (gadget->is_otg) {
|
||||||
otg_desc.bmAttributes |= USB_OTG_HNP,
|
otg_desc.bmAttributes |= USB_OTG_HNP;
|
||||||
config_desc.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = -ENOMEM;
|
rc = -ENOMEM;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче