On Thu, Sep 17, 2015 at 05:16:25PM +0200, Markus Pargmann wrote: > The host may assume that the usb device is still up and running after > booting if we do not deregister the udc here. I observed issues when the > linux kernel was using a usb gadget directly where the complete USB Hub > got disconnected through this. > > This patch adds a proper USB disconnect for gadget devices. > > Signed-off-by: Markus Pargmann <mpa@xxxxxxxxxxxxxx> > --- > drivers/usb/gadget/fsl_udc.c | 13 +++++++++++++ > drivers/usb/imx/chipidea-imx.c | 6 ++++++ > include/usb/fsl_usb2.h | 1 + > 3 files changed, 20 insertions(+) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox