speedtch testatm.c,1.4,1.5

Roman Kagan rkagan at mail.ru
Fri Apr 8 08:31:44 EDT 2005


On Fri, Apr 08, 2005 at 02:18:42PM +0200, Duncan Sands wrote:
> I already set it to NULL for just this reason - check the code.

Yep, I've already apologized :)

> And you
> don't recurse into disconnect for the interface disconnect was called
> on: the usb_driver_release_interface code ignores the release in this
> case.

I don't see how...  usb_driver_release_interface checks if the
dev->driver_list is empty for this, but it is emptied only in
device_release_driver called after this check.  This sorta limits the
recursion depth to 2, but doesn't exclude it.

Roman.



More information about the Usbatm mailing list