From: dinguyen@kernel.org (Dinh Nguyen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: socfpga: PM: Drop useless check for PM_SUSPEND_STANDBY
Date: Sun, 19 Feb 2017 14:15:01 -0600 [thread overview]
Message-ID: <d66793eb-dc03-e5ba-76e4-904acf6a5de9@kernel.org> (raw)
In-Reply-To: <1487347836-14427-4-git-send-email-geert+renesas@glider.be>
On 02/17/2017 10:10 AM, Geert Uytterhoeven wrote:
> As SoCFPGA uses the standard suspend_valid_only_mem() for its
> platform_suspend_ops.valid() callback, its platform_suspend_ops.enter()
> callback will never be called with state equal to PM_SUSPEND_STANDBY.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/arm/mach-socfpga/pm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-socfpga/pm.c b/arch/arm/mach-socfpga/pm.c
> index c378ab0c24317ccf..d4866788702cb87a 100644
> --- a/arch/arm/mach-socfpga/pm.c
> +++ b/arch/arm/mach-socfpga/pm.c
> @@ -116,7 +116,6 @@ static int socfpga_pm_suspend(unsigned long arg)
> static int socfpga_pm_enter(suspend_state_t state)
> {
> switch (state) {
> - case PM_SUSPEND_STANDBY:
> case PM_SUSPEND_MEM:
> outer_disable();
> cpu_suspend(0, socfpga_pm_suspend);
>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Dinh
next prev parent reply other threads:[~2017-02-19 20:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 16:10 [PATCH 0/3] ARM: PM: Drop useless checks for PM_SUSPEND_STANDBY Geert Uytterhoeven
2017-02-17 16:10 ` [PATCH 1/3] ARM: davinci: PM: Drop useless check " Geert Uytterhoeven
2017-02-20 8:30 ` Sekhar Nori
2017-02-20 8:40 ` Geert Uytterhoeven
2017-02-21 8:57 ` Sekhar Nori
2017-02-17 16:10 ` [PATCH 2/3] ARM: OMAP: PM: Drop useless checks " Geert Uytterhoeven
2017-02-17 16:10 ` [PATCH 3/3] ARM: socfpga: PM: Drop useless check " Geert Uytterhoeven
2017-02-19 20:15 ` Dinh Nguyen [this message]
2017-02-17 16:40 ` [PATCH 0/3] ARM: PM: Drop useless checks " Tony Lindgren
2017-03-06 18:38 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d66793eb-dc03-e5ba-76e4-904acf6a5de9@kernel.org \
--to=dinguyen@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).