commit | 352c2dc8b07491bbab77ddf86c20c16a97326ee7 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Thu Jun 23 14:26:15 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jul 01 14:31:13 2011 -0700 |
tree | a1aaa9ab0b95701e4f8aba194bfbbb42df81b572 | |
parent | b5738413c96126e8191bc506b403cd55950b8f9a [diff] |
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>