diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-10-22 16:14:55 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-31 08:59:27 -0400 |
commit | 585e3931b9363fc72f626001d5d18a790a368dd1 (patch) | |
tree | 107df65ba635b21498491ffe448e93ef0011245f /drivers/usb/gadget/f_ecm.c | |
parent | 87c2905fd80da736b8f9aa58cbc0c9cf34a11aac (diff) |
usb: gadget: ecm: Add IAD descriptor in SS mode
Commit d11519 ("usb: gadget: Add Interface Association Descriptor to
ECM") added the IAD descriptor to FS and HS descriptors. The SS
descriptor has been left out probably because it has been added "just
recently".
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/f_ecm.c')
-rw-r--r-- | drivers/usb/gadget/f_ecm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_ecm.c b/drivers/usb/gadget/f_ecm.c index 95bc94f8e570..8ab9e9638f91 100644 --- a/drivers/usb/gadget/f_ecm.c +++ b/drivers/usb/gadget/f_ecm.c | |||
@@ -330,6 +330,7 @@ static struct usb_ss_ep_comp_descriptor ss_ecm_bulk_comp_desc = { | |||
330 | 330 | ||
331 | static struct usb_descriptor_header *ecm_ss_function[] = { | 331 | static struct usb_descriptor_header *ecm_ss_function[] = { |
332 | /* CDC ECM control descriptors */ | 332 | /* CDC ECM control descriptors */ |
333 | (struct usb_descriptor_header *) &ecm_iad_descriptor, | ||
333 | (struct usb_descriptor_header *) &ecm_control_intf, | 334 | (struct usb_descriptor_header *) &ecm_control_intf, |
334 | (struct usb_descriptor_header *) &ecm_header_desc, | 335 | (struct usb_descriptor_header *) &ecm_header_desc, |
335 | (struct usb_descriptor_header *) &ecm_union_desc, | 336 | (struct usb_descriptor_header *) &ecm_union_desc, |