On Thu, Jun 30, 2011 at 05:01:36PM -0400, Alan Stern wrote: > While iterating through a single bus, all you need to do is lock each > device as you come to it (including the root hub), using > usb_lock_device() and usb_unlock_device(). While you hold a device's > lock, it can't be unregistered and it can't have any children added or > removed. Say I have this tree: port 2 | HS hub 1 / \ HS hub 2 HS device 3 If I call usb_lock_device() for HS device 3, and then for HS hub 1, does that prevent children from being added or removed from HS hub 2? Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html