Re: [PATCH 2/6] USB / PCI / PM: Allow the PCI core to do the resume cleanup

2017-06-08 Thread Rafael J. Wysocki
On Thursday, June 08, 2017 11:24:55 AM Alan Stern wrote: > On Thu, 8 Jun 2017, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > hcd_pci_resume_noirq() used as a universal _resume_noirq handler for > > PCI USB controllers calls pci_back_from_sleep() which is unnecessary > > and may

Re: [PATCH 2/6] USB / PCI / PM: Allow the PCI core to do the resume cleanup

2017-06-08 Thread Alan Stern
On Thu, 8 Jun 2017, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > hcd_pci_resume_noirq() used as a universal _resume_noirq handler for > PCI USB controllers calls pci_back_from_sleep() which is unnecessary > and may become problematic. > > It is unnecessary, because the PCI bus type ca

[PATCH 2/6] USB / PCI / PM: Allow the PCI core to do the resume cleanup

2017-06-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki hcd_pci_resume_noirq() used as a universal _resume_noirq handler for PCI USB controllers calls pci_back_from_sleep() which is unnecessary and may become problematic. It is unnecessary, because the PCI bus type carries out post-suspend cleanup of all PCI devices during res