[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGo_u6pryMrJA1HkM84=SH-PRrN2u+f0dzby-LXUbxSiEh9VYA@mail.gmail.com>
Date: Mon, 27 Apr 2015 14:30:38 -0500
From: Nishanth Menon <nm@...com>
To: Grygorii Strashko <grygorii.strashko@...aro.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
ulf.hansson@...aro.org,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
linux-omap <linux-omap@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>,
Tony Lindgren <tony@...mide.com>,
Kevin Hilman <khilman@...aro.org>,
Santosh Shilimkar <ssantosh@...nel.org>
Subject: Re: [PATCH 2/3] bus: omap_l3_noc: add missed callbacks for suspend-to-disk
On Mon, Apr 27, 2015 at 1:24 PM, <grygorii.strashko@...aro.org> wrote:
> From: Grygorii Strashko <Grygorii.Strashko@...aro.org>
>
> 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 <tony@...mide.com>
> Cc: Nishanth Menon <nm@...com>
> Cc: Kevin Hilman <khilman@...aro.org>
> Cc: Santosh Shilimkar <ssantosh@...nel.org>
> Signed-off-by: Grygorii Strashko <Grygorii.Strashko@...aro.org>
> ---
> 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@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Acked-by: Nishanth Menon <nm@...com>
--
---
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists