]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sony_acpi: Add lanpower and audiopower controls
authorMattia Dongili <malattia@linux.it>
Sat, 13 Jan 2007 22:04:39 +0000 (23:04 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 13 Feb 2007 08:06:26 +0000 (03:06 -0500)
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>
drivers/acpi/sony_acpi.c

index 69122ad778f586584729202206068038dcbbd069..1f7dca337025476bc6e26b942e5dc824a58edcae 100644 (file)
@@ -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",