Re: [PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Chen Yu
On Wed, Sep 28, 2016 at 11:48:40PM +0200, Rafael J. Wysocki wrote: > On Wed, Sep 28, 2016 at 6:29 PM, Chen Yu wrote: > > We have report that the intel_lpss_prepare() takes too much time during > > suspend, and this is because we first resume the devices from runtime > >

Re: [PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Chen Yu
On Wed, Sep 28, 2016 at 11:48:40PM +0200, Rafael J. Wysocki wrote: > On Wed, Sep 28, 2016 at 6:29 PM, Chen Yu wrote: > > We have report that the intel_lpss_prepare() takes too much time during > > suspend, and this is because we first resume the devices from runtime > > suspend by

Re: [PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Rafael J. Wysocki
On Wed, Sep 28, 2016 at 6:29 PM, Chen Yu wrote: > We have report that the intel_lpss_prepare() takes too much time during > suspend, and this is because we first resume the devices from runtime > suspend by resume_lpss_device(), to make sure they are in proper state > before

Re: [PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Rafael J. Wysocki
On Wed, Sep 28, 2016 at 6:29 PM, Chen Yu wrote: > We have report that the intel_lpss_prepare() takes too much time during > suspend, and this is because we first resume the devices from runtime > suspend by resume_lpss_device(), to make sure they are in proper state > before system suspend, which

[PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Chen Yu
We have report that the intel_lpss_prepare() takes too much time during suspend, and this is because we first resume the devices from runtime suspend by resume_lpss_device(), to make sure they are in proper state before system suspend, which takes 100ms for each LPSS devices(PCI power state from

[PATCH][v2] mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

2016-09-28 Thread Chen Yu
We have report that the intel_lpss_prepare() takes too much time during suspend, and this is because we first resume the devices from runtime suspend by resume_lpss_device(), to make sure they are in proper state before system suspend, which takes 100ms for each LPSS devices(PCI power state from