multiple interface test case

Duncan Sands baldrick at free.fr
Tue Apr 12 13:07:46 EDT 2005


Hi Roman, with latest -mm it hangs here:

void driver_unregister(struct device_driver * drv)
{
        bus_remove_driver(drv);
        wait_for_completion(&drv->unloaded); <=== waits for ever
}

The completion happens when driver_release is called.
Just how this gets called isn't too clear to me, but
presumably it happens automagically when the driver
refcount drops to zero.  The driver refcount gets
down to 1 only.

Ciao,

Duncan.




More information about the Usbatm mailing list