Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965098AbbD0Tal (ORCPT ); Mon, 27 Apr 2015 15:30:41 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:35235 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964971AbbD0Tai (ORCPT ); Mon, 27 Apr 2015 15:30:38 -0400 MIME-Version: 1.0 In-Reply-To: <1430159072-31440-3-git-send-email-grygorii.strashko@linaro.org> References: <1430159072-31440-1-git-send-email-grygorii.strashko@linaro.org> <1430159072-31440-3-git-send-email-grygorii.strashko@linaro.org> Date: Mon, 27 Apr 2015 14:30:38 -0500 X-Google-Sender-Auth: fBYfwuVQyQpi6BnQr2sVN1xwua8 Message-ID: Subject: Re: [PATCH 2/3] bus: omap_l3_noc: add missed callbacks for suspend-to-disk From: Nishanth Menon To: Grygorii Strashko Cc: "Rafael J. Wysocki" , Pavel Machek , Len Brown , "linux-pm@vger.kernel.org" , ulf.hansson@linaro.org, "linux-arm-kernel@lists.infradead.org" , linux-omap , lkml , Tony Lindgren , Kevin Hilman , Santosh Shilimkar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1801 Lines: 56 On Mon, Apr 27, 2015 at 1:24 PM, wrote: > From: Grygorii Strashko > > Add missed callbacks needed for proper supporting of suspend-to-disk > by using recently introduced macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS. > > Cc: Tony Lindgren > Cc: Nishanth Menon > Cc: Kevin Hilman > Cc: Santosh Shilimkar > Signed-off-by: Grygorii Strashko > --- > drivers/bus/omap_l3_noc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c > index 11f7982..6ae3884 100644 > --- a/drivers/bus/omap_l3_noc.c > +++ b/drivers/bus/omap_l3_noc.c > @@ -300,7 +300,7 @@ static int omap_l3_probe(struct platform_device *pdev) > return ret; > } > > -#ifdef CONFIG_PM > +#ifdef CONFIG_PM_SLEEP > > /** > * l3_resume_noirq() - resume function for l3_noc > @@ -346,7 +346,7 @@ static int l3_resume_noirq(struct device *dev) > } > > static const struct dev_pm_ops l3_dev_pm_ops = { > - .resume_noirq = l3_resume_noirq, > + SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(NULL, l3_resume_noirq) > }; > > #define L3_DEV_PM_OPS (&l3_dev_pm_ops) > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Nishanth Menon -- --- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/