speedtch testatm.c,1.4,1.5

Roman Kagan rkagan at mail.ru
Fri Apr 8 07:33:27 EDT 2005

On Fri, Apr 08, 2005 at 03:11:17PM +0400, Roman Kagan wrote:
> On Fri, Apr 08, 2005 at 12:37:59PM +0200, Duncan Sands wrote:
> > > I'm looking at drivers/usb/core/usb.c now, and I'm totally lost in its
> > > probe/claim_interface/release_interface/disconnect logic...
> > 
> > Yeah, I know how you feel.  Anyway, I'm looking into it now...
> Unless I'm missing something obvious, usb_driver_release_interface()
> calls device_release_driver(), which in turn calls
> usb_unbind_interface(), which then goes back to driver->disconnect()....

BTW do we really need to manually release interfaces we've claimed?
Won't they get disconnect()-ed by the usb core?


More information about the Usbatm mailing list