From: akpm@linux-foundation.org
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org, akpm@linux-foundation.org, malattia@linux.it
Subject: [patch 11/13] sony_acpi: add lanpower and audiopower controls
Date: Mon, 05 Feb 2007 16:09:18 -0800 [thread overview]
Message-ID: <200702060010.l160ALCi003751@shell0.pdx.osdl.net> (raw)
From: Mattia Dongili <malattia@linux.it>
audiopower works well on my SZ72B so it's not marked has "debug" while
lanpower has at least one report of not resuming power happily so morked as
"debug"
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/acpi/sony_acpi.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff -puN drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls drivers/acpi/sony_acpi.c
--- a/drivers/acpi/sony_acpi.c~sony_acpi-add-lanpower-and-audiopower-controls
+++ a/drivers/acpi/sony_acpi.c
@@ -102,11 +102,27 @@ static struct sony_acpi_value {
.name = "cdpower",
.acpiget = "GCDP",
.acpiset = "SCDP",
- .min = -1,
- .max = -1,
+ .min = 0,
+ .max = 1,
.debug = 0,
},
{
+ .name = "audiopower",
+ .acpiget = "GAZP",
+ .acpiset = "AZPW",
+ .min = 0,
+ .max = 1,
+ .debug = 0,
+ },
+ {
+ .name = "lanpower",
+ .acpiget = "GLNP",
+ .acpiset = "LNPW",
+ .min = 0,
+ .max = 1,
+ .debug = 1,
+ },
+ {
.name = "PID",
.acpiget = "GPID",
.debug = 1,
_
next reply other threads:[~2007-02-06 0:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 0:09 akpm [this message]
2007-02-07 21:07 ` [patch 11/13] sony_acpi: add lanpower and audiopower controls Len Brown
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=200702060010.l160ALCi003751@shell0.pdx.osdl.net \
--to=akpm@linux-foundation.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=malattia@linux.it \
/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