From: Robert Baldyga Date: Mon, 4 May 2015 12:55:11 +0000 (+0200) Subject: usb: gadget: add usb_gadget_activate/deactivate functions X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccdf138fe3e243c70301fcb6a101e366b7daef07;p=pandora-kernel.git usb: gadget: add usb_gadget_activate/deactivate functions These functions allows to deactivate gadget to make it not visible to host and make it active again when gadget driver is finally ready. They are needed to fix usb_function_activate() and usb_function_deactivate() functions which currently are not working as usb_gadget_connect() is called immediately after function bind regardless to previous calls of usb_gadget_disconnect() function. Signed-off-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed