From: Li Jun Date: Thu, 9 Jul 2015 07:18:49 +0000 (+0800) Subject: usb: gadget: ether: allocate and init otg descriptor by otg capabilities X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b95236eebdbdf2ff68517cc32390683f4114a37;p=pandora-kernel.git 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 Reviewed-by: Roger Quadros Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed