Commit fb5591eb authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Ido Shayevitz
Browse files

usb: gadget: udc-core: add "new-style" registration interface



udc_start() should only trigger the internal state machine and make
minimal house keeping. Before that call udc-core calls the bind()
callback and after the callback the pullup().

udc_stop() is simillar, udc-core calls pullup(), unbind() and finally
udc_stop().

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent 0d0c240f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment