summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-04-04 15:19:59 +0000
committerSven Schnelle <svens@stackframe.org>2011-04-04 15:19:59 +0000
commitbc608339545dc0561d1170e5a57b54b5bd74f3ea (patch)
treeb59be1302270fdc72e25a9b42c3f28c5782850a1 /src/mainboard/lenovo/x60
parentbdb10594aa4fcff3c2200224fb33052cbbe753be (diff)
downloadcoreboot-bc608339545dc0561d1170e5a57b54b5bd74f3ea.tar.xz
X60: assert audio mute before entering Suspend
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Sven Schnelle <svens@stackframe.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lenovo/x60')
-rw-r--r--src/mainboard/lenovo/x60/acpi/ec.asl7
-rw-r--r--src/mainboard/lenovo/x60/acpi/platform.asl3
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl
index 043b72ef56..85ea4914ba 100644
--- a/src/mainboard/lenovo/x60/acpi/ec.asl
+++ b/src/mainboard/lenovo/x60/acpi/ec.asl
@@ -35,6 +35,8 @@ Device(EC)
HSPA, 1,
Offset (0x0C),
LEDS, 8, /* LED state */
+ Offset (0x3a),
+ AMUT, 1, /* Audio Mute */
Offset (0x3B),
, 1,
KBLT, 1, /* Keyboard Light */
@@ -66,6 +68,11 @@ Device(EC)
{
}
+ Method (MUTE, 1, NotSerialized)
+ {
+ Store(Arg0, AMUT)
+ }
+
/* Sleep Button pressed */
Method(_Q13, 0, NotSerialized)
{
diff --git a/src/mainboard/lenovo/x60/acpi/platform.asl b/src/mainboard/lenovo/x60/acpi/platform.asl
index 1cd5c66932..85a987bae0 100644
--- a/src/mainboard/lenovo/x60/acpi/platform.asl
+++ b/src/mainboard/lenovo/x60/acpi/platform.asl
@@ -67,8 +67,7 @@ Method(_PIC, 1)
Method(_PTS,1)
{
- // Call a trap so SMI can prepare for Sleep as well.
- // TRAP(0x55)
+ \_SB.PCI0.LPCB.EC.MUTE(1)
}
/* The _WAK method is called on system wakeup */