Hi, this patch set introduces usb_anchor and uses it to implement all modern APIs in the skeleton driver.
- use of anchor in disconnect Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> ------ --- linux-2.6.22-rc2/drivers/usb/usb-skeleton.c.3 2007-05-25 13:11:33.000000000 +0200 +++ linux-2.6.22-rc2-autosuspend/drivers/usb/usb-skeleton.c 2007-05-25 13:13:32.000000000 +0200 @@ -444,7 +444,7 @@ static void skel_disconnect(struct usb_i dev->interface = NULL; mutex_unlock(&dev->io_mutex); - + usb_kill_anchored_urbs(&dev->submitted); /* decrement our usage count */ kref_put(&dev->kref, skel_delete); ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel