commit | 578aa8a2b12cb4cc3cfdb6ccd56af9f5f0dd6118 | [log] [tgz] |
---|---|---|
author | Li Jun <jun.li@freescale.com> | Thu Jul 09 15:18:50 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Wed Jul 29 09:59:21 2015 -0500 |
tree | 1edc46f79f47e28f2f745cb478e93f78796b20f6 | |
parent | 9b95236eebdbdf2ff68517cc32390683f4114a37 [diff] |
usb: gadget: acm_ms: 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>