RE: [PATCH] xhci: Fix spurious wakeups after S5 on Haswell (v3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Sep 2013, Paul Zimmerman wrote:

> > From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] 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.

Ah, so it does.  Thanks for the pointer.

Okay, I have no more objections to this patch.

Alan Stern

--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux