diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-24 00:10:20 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 22:52:47 +0400 |
commit | a59233407aed54b8a9121cea75d9c6a2a470d8d3 (patch) | |
tree | f073dd5e345f1ba8e1a23480e418cee608dc825e /drivers/usb/gadget/f_fs.c | |
parent | 4c49a5f0ef1bc61395329ea7a9fce2893e97eaa6 (diff) | |
download | linux-a59233407aed54b8a9121cea75d9c6a2a470d8d3.tar.xz |
usb: gadget: factor out two helper functions from composite_bind()
This patch factors out two helper functions from composite_bind()
that is composite_dev_prepare() and its counterpart
composite_dev_cleanup().
This will be used by the configfs which requries a slightly different
bind/setup code because part of its configurations (i.e. config
descripts, cdev, …) are setup in advance and VID/PID and so one should
not be overwritten. Also the setup of ep0 endpoint can be delayed until
the UDC is assigned.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/f_fs.c')
0 files changed, 0 insertions, 0 deletions