commit | 1156e91dd7cc3a579544286d07fd46f0162e3ec6 | [log] [tgz] |
---|---|---|
author | Li Jun <jun.li@freescale.com> | Thu Jul 09 15:18:57 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Wed Jul 29 09:59:22 2015 -0500 |
tree | cc2c635287852e72e9c710aa1404fea58197d702 | |
parent | 21ddc2a860ca69eb92ab0c48c05187f89aa6a39a [diff] |
usb: gadget: ncm: 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>