But the drivers' ID tables are part of the module ...
what's the locking being done to prevent rmmod
during the usb_match_id() call?
- Dave
> @@ -785,9 +789,13 @@
> interface->act_altsetting = i;
> id = usb_match_id(dev, interface, id);
> if (id) {
> + if (driver->module)
> + __MOD_INC_USE_COUNT(driver->module);
> down(&driver->serialize);
> private = driver->probe(dev,ifnum,id);
> up(&driver->serialize);
> + if (driver->module)
> + __MOD_DEC_USE_COUNT(driver->module);
> if (private != NULL)
> break;
> }
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel