Skip to content

Commit

Permalink
sony_acpi: Add lanpower and audiopower controls
Browse files Browse the repository at this point in the history
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: Len Brown <len.brown@intel.com>
  • Loading branch information
Mattia Dongili authored and Len Brown committed Feb 13, 2007
1 parent 05e2d82 commit 4465857
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions drivers/acpi/sony_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,26 @@ 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",
Expand Down

0 comments on commit 4465857

Please sign in to comment.