aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/zero.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-12-23 21:10:20 +0100
committerFelipe Balbi <balbi@ti.com>2013-01-21 20:52:47 +0200
commita59233407aed54b8a9121cea75d9c6a2a470d8d3 (patch)
treef073dd5e345f1ba8e1a23480e418cee608dc825e /drivers/usb/gadget/zero.c
parentusb: gadget: udc-core: introduce UDC binding by name (diff)
downloadlinux-dev-a59233407aed54b8a9121cea75d9c6a2a470d8d3.tar.xz
linux-dev-a59233407aed54b8a9121cea75d9c6a2a470d8d3.zip
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/zero.c')
0 files changed, 0 insertions, 0 deletions