From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 09/12] PM / mfd: intel-lpss: Use DPM_FLAG_SMART_SUSPEND Date: Wed, 1 Nov 2017 21:26:13 +0100 Message-ID: References: <3806130.B2KCK0tvef@aspire.rjw.lan> <5094729.JAaD38WncM@aspire.rjw.lan> <20171031150933.oho2ffvuj3iagx4m@dell> <20171101092819.thhofiwwjxblef4a@dell> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20171101092819.thhofiwwjxblef4a@dell> Sender: linux-i2c-owner@vger.kernel.org To: Lee Jones Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Linux PM , Bjorn Helgaas , Alan Stern , Greg Kroah-Hartman , LKML , Linux ACPI , Linux PCI , Linux Documentation , Mika Westerberg , Ulf Hansson , Andy Shevchenko , Kevin Hilman , Wolfram Sang , linux-i2c List-Id: linux-acpi@vger.kernel.org On Wed, Nov 1, 2017 at 10:28 AM, Lee Jones wrote: > On Tue, 31 Oct 2017, Rafael J. Wysocki wrote: > >> On Tue, Oct 31, 2017 at 4:09 PM, Lee Jones wrote: >> > On Mon, 16 Oct 2017, Rafael J. Wysocki wrote: >> > >> >> From: Rafael J. Wysocki >> >> >> >> Make the intel-lpss driver set DPM_FLAG_SMART_SUSPEND for its >> >> devices which will allow them to stay in runtime suspend during >> >> system suspend unless they need to be reconfigured for some reason. >> >> >> >> Also make it avoid resuming its child devices if they have >> >> DPM_FLAG_SMART_SUSPEND set to allow them to remain in runtime >> >> suspend during system suspend. >> >> >> >> Signed-off-by: Rafael J. Wysocki >> >> --- >> >> drivers/mfd/intel-lpss.c | 6 +++++- >> >> 1 file changed, 5 insertions(+), 1 deletion(-) >> > >> > Is this patch independent? >> >> It depends on the flag definition at least, but functionally it also >> depends on the PCI support for the flag. > > No problem. Which tree to you propose this goes through? linux-pm.git if that's not a problem as the patches it depends on will go through it too. That said I'll resend it when the core patches it depends on are ready. Thanks, Rafael