Commit 8296b46e authored by Li Jun's avatar Li Jun Committed by Nitin Garg
Browse files

MLK-11123-11 usb: gadget: configfs: create 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
composite unbind. If otg capability is not defined, keep its otg
descriptor unchanged.

Reviewed-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarLi Jun <jun.li@freescale.com>
parent fd08b44f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment