> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Alan Stern
> Sent: Wednesday, September 11, 2013 9:30 AM
> 
> On Wed, 11 Sep 2013, Takashi Iwai wrote:
> 
> > Reloading xhci-hcd module works no matter whether CONFIG_PM_RUNTIME=y
> > or not.  (And yes, the device went to D3 at unload and to D0 at load,
> > as long as looking at lspci output.)
> 
> Interesting.  I thought there wasn't any code in the PCI core for
> putting devices back into D0 before probing.  The idea is that during
> unbinding, the device should get set to D0 and should remain there.
> But with your patch, obviously that's not what happens.
> 
> Something else must also be setting the device back to D0.  Do you have
> any idea what?  It's not xhci-hcd.

pci_enable_device() called from usb_hcd_pci_probe() does that.

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to