diff options
author | Li Jun <[email protected]> | 2015-07-09 15:18:49 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-07-29 09:59:21 -0500 |
commit | 9b95236eebdbdf2ff68517cc32390683f4114a37 (patch) | |
tree | 20e3b26e81a557a0e9b539392e2c546e734e6427 /drivers/usb/gadget/legacy/acm_ms.c | |
parent | 41ce84c86d0a04ef70a9608bd744afb122b6d103 (diff) |
usb: gadget: ether: 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, free it while
ether unbind. If otg capability is not defined, keep its otg
descriptor unchanged.
Signed-off-by: Li Jun <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/legacy/acm_ms.c')
0 files changed, 0 insertions, 0 deletions