]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
usb: gadget: ecm: Add IAD descriptor in SS mode
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 22 Oct 2012 20:14:55 +0000 (22:14 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 31 Oct 2012 12:59:27 +0000 (14:59 +0200)
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>
drivers/usb/gadget/f_ecm.c

index 95bc94f8e57066a743428571707540d71775e751..8ab9e9638f91cd1ddd9780df20e0618cc47f95a4 100644 (file)
@@ -330,6 +330,7 @@ static struct usb_ss_ep_comp_descriptor ss_ecm_bulk_comp_desc = {
 
 static struct usb_descriptor_header *ecm_ss_function[] = {
        /* CDC ECM control descriptors */
+       (struct usb_descriptor_header *) &ecm_iad_descriptor,
        (struct usb_descriptor_header *) &ecm_control_intf,
        (struct usb_descriptor_header *) &ecm_header_desc,
        (struct usb_descriptor_header *) &ecm_union_desc,