commit | ab6796ae98330389754b82d37bed89029d1dab51 | [log] [tgz] |
---|---|---|
author | Li Jun <jun.li@freescale.com> | Thu Jul 09 15:18:52 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Wed Jul 29 09:59:21 2015 -0500 |
tree | 6b92baa4ae940a88e5c4203c4f78ab698f9a8580 | |
parent | 56023ce0fd7025154494d139b2c9891d75fee622 [diff] |
usb: gadget: cdc2: allocate and init otg descriptor by otg capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Signed-off-by: Li Jun <jun.li@freescale.com> Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>