Re: [PATCH 5/7] PM: i2c-designware-platdrv: Use DPM_FLAG_SMART_PREPARE

2018-01-08 Thread Wolfram Sang
On Mon, Jan 08, 2018 at 04:31:49PM +0200, Jarkko Nikula wrote: > On 01/03/2018 02:35 AM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Modify i2c-designware-platdrv to set DPM_FLAG_SMART_PREPARE for its > > devices and return 0 from the system suspend ->prepare callback > > if the

Re: [PATCH 5/7] PM: i2c-designware-platdrv: Use DPM_FLAG_SMART_PREPARE

2018-01-08 Thread Jarkko Nikula
On 01/03/2018 02:35 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Modify i2c-designware-platdrv to set DPM_FLAG_SMART_PREPARE for its devices and return 0 from the system suspend ->prepare callback if the device has an ACPI companion object in order to tell the PM core and middle layers

[PATCH 5/7] PM: i2c-designware-platdrv: Use DPM_FLAG_SMART_PREPARE

2018-01-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify i2c-designware-platdrv to set DPM_FLAG_SMART_PREPARE for its devices and return 0 from the system suspend ->prepare callback if the device has an ACPI companion object in order to tell the PM core and middle layers to avoid skipping system suspend/resume callbacks f