summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/composite.c
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-05-04 14:55:11 +0200
committerFelipe Balbi <balbi@ti.com>2015-07-29 09:59:19 -0500
commitccdf138fe3e243c70301fcb6a101e366b7daef07 (patch)
treef1828acbdf9614ca0de4b8e736487c1c9467161d /drivers/usb/gadget/composite.c
parent351169933ea22592fb42b97c76c4c130fe287cca (diff)
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 <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/composite.c')
0 files changed, 0 insertions, 0 deletions