Alan Stern 9ad3d6ccf5 [PATCH] USB: Remove USB private semaphore
This patch (as605) removes the private udev->serialize semaphore,
relying instead on the locking provided by the embedded struct device's
semaphore.  The changes are confined to the core, except that the
usb_trylock_device routine now uses the return convention of
down_trylock rather than down_read_trylock (they return opposite values
for no good reason).

A couple of other associated changes are included as well:

	Now that we aren't concerned about HCDs that avoid using the
	hcd glue layer, usb_disconnect no longer needs to acquire the
	usb_bus_lock -- that can be done by usb_remove_hcd where it
	belongs.

	Devices aren't locked over the same scope of code in
	usb_new_device and hub_port_connect_change as they used to be.
	This shouldn't cause any trouble.

Along with the preceding driver core patch, this needs a lot of testing.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:48:34 -08:00
..
2005-11-28 21:00:29 +00:00
2005-11-13 18:14:17 -08:00
2005-11-13 18:14:10 -08:00
2005-11-22 19:39:30 -08:00
2005-12-15 02:20:15 +01:00
2005-12-12 08:57:43 -08:00
2005-11-28 14:42:23 -08:00
2005-12-19 23:12:09 -05:00
2005-11-13 18:14:12 -08:00
2005-12-12 08:57:45 -08:00
2005-11-13 18:14:15 -08:00
2005-11-20 21:25:15 -08:00
2005-12-05 13:42:06 -08:00
2005-12-12 08:57:42 -08:00