Re: [PATCH v2] usb/fsl_usb2_udc: Report disconnect before unbinding

2008-11-17 Thread David Brownell
On Thursday 13 November 2008, Anton Vorontsov wrote: > Gadgets disable endpoints in their disconnect callbacks, so > we must call disconnect before unbinding. > > The patch fixes following badness: > > [EMAIL PROTECTED]:~# insmod fsl_usb2_udc.ko > Freescale High-Speed USB SOC Device Controller dr

[PATCH v2] usb/fsl_usb2_udc: Report disconnect before unbinding

2008-11-13 Thread Anton Vorontsov
Gadgets disable endpoints in their disconnect callbacks, so we must call disconnect before unbinding. The patch fixes following badness: [EMAIL PROTECTED]:~# insmod fsl_usb2_udc.ko Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007) [EMAIL PROTECTED]:~# insmod g_ether.ko g_ether