Re: [PATCH] xhci - clarify compliance mode debug messages

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

 



On Tue, 19 Feb 2013, Sarah Sharp wrote:

> The one thing I wanted to check was my understanding of the hibernate
> flow path.  As you mentioned, I thought that xhci_suspend would be
> called in the hibernate path, but it's not.

Are you sure about that?  AFAICT it should be called -- although it
gets called during the poweroff phase of hibernation, not the freeze
phase.

core/hcd-pci.c: usb_hcd_pci_pm_ops.poweroff = hcd_pci_suspend
core/hcd-pci.c: hcd_pci_suspend calls suspend_common
core/hcd-pci.c: suspend_common calls hcd->driver->pci_suspend
host/xhci-pci.c: xhci_pci_hc_driver.pci_suspend = xhci_pci_suspend
host/xhci-pci.c: xhci_pci_suspend calls xhci_suspend

>  Perhaps there is a better
> function that's called in both the hibernate and suspend path where we
> can stop the compliance mode timer.

This should not be necessary.

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