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
This commit is contained in:
parent
bdb10594aa
commit
bc60833954
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue