From: Len Brown <lenb@kernel.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
Alexey Starikovskiy <astarikovskiy@suse.de>,
Frans Pop <elendil@planet.nl>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] ACPI: suspend: consolidate handling of Sx states addendum
Date: Fri, 21 Sep 2007 21:59:14 -0400 [thread overview]
Message-ID: <200709212159.14418.lenb@kernel.org> (raw)
In-Reply-To: <200709211647.24861.rjw@sisk.pl>
Applied.
thanks,
-Len
On Friday 21 September 2007 10:47, Rafael J. Wysocki wrote:
> From: Frans Pop <elendil@planet.nl>
> Date: Thu Sep 20 22:27:44 2007 +0200
>
> Make the S0 state be always reported as supported
>
> Signed-off: Frans Pop <elendil@planet.nl>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> ---
> drivers/acpi/sleep/main.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> Index: linux-2.6.23-rc7/drivers/acpi/sleep/main.c
> ===================================================================
> --- linux-2.6.23-rc7.orig/drivers/acpi/sleep/main.c
> +++ linux-2.6.23-rc7/drivers/acpi/sleep/main.c
> @@ -424,9 +424,11 @@ int __init acpi_sleep_init(void)
> if (acpi_disabled)
> return 0;
>
> -printk(KERN_INFO PREFIX "(supports");
> + sleep_states[ACPI_STATE_S0] = 1;
> + printk(KERN_INFO PREFIX "(supports S0");
> +
> #ifdef CONFIG_SUSPEND
> - for (i = ACPI_STATE_S0; i < ACPI_STATE_S4; i++) {
> + for (i = ACPI_STATE_S1; i < ACPI_STATE_S4; i++) {
> status = acpi_get_sleep_type_data(i, &type_a, &type_b);
> if (ACPI_SUCCESS(status)) {
> sleep_states[i] = 1;
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2007-09-22 2:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 14:47 [PATCH] ACPI: suspend: consolidate handling of Sx states addendum Rafael J. Wysocki
2007-09-22 1:59 ` Len Brown [this message]
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=200709212159.14418.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=astarikovskiy@suse.de \
--cc=elendil@planet.nl \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@sisk.pl \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.