Messages in this thread | | | From | David Brownell <> | Subject | Re: [linux-usb-devel] 2.6.10-rc1 OHCI usb error messages | Date | Thu, 28 Oct 2004 09:51:35 -0700 |
| |
On Thursday 28 October 2004 07:46, Alan Stern wrote: > On Wed, 27 Oct 2004, David Brownell wrote: > > > So: since it's not being actively used then, why shouldn't the > > root hub (or any other device) be suspended? During boot, or at > > any other time. So long as it works when you plug in a USB device, > > it looks to me like everything is behaving quite reasonably. > > The root hub _is_ actively being used during initial probing and > enumeration, even though no devices may be plugged into it. Is it > guaranteed that the root hub isn't suspended until after > usb_register_root_hub returns?
It's never going to be suspended until after the hub driver has set everything up -- that's the essential constraint. Since that routine is called in a preemptible context, some systems could end up preempting that call, so it'd suspend before that call manages to return. That'd be OK, since everything's set up.
- Dave
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |