lenovo/x60: Unify volume button handling with common code.
Change-Id: I45fe44a91f9f83a510b204e01dbaff9e8a9696ca Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5099 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
e92155fbe6
commit
5ca914bc64
|
@ -227,7 +227,6 @@ Device(EC)
|
|||
^HKEY.RHK (0x18)
|
||||
}
|
||||
|
||||
#if CONFIG_BOARD_LENOVO_X201
|
||||
Method (_Q1C, 0, NotSerialized)
|
||||
{
|
||||
^HKEY.RHK (0x19)
|
||||
|
@ -237,7 +236,6 @@ Device(EC)
|
|||
{
|
||||
^HKEY.RHK (0x1A)
|
||||
}
|
||||
#endif
|
||||
|
||||
Device (HKEY)
|
||||
{
|
||||
|
|
|
@ -20,26 +20,3 @@
|
|||
*/
|
||||
|
||||
#include <ec/lenovo/h8/acpi/ec.asl>
|
||||
|
||||
Scope(\_SB.PCI0.LPCB.EC)
|
||||
{
|
||||
/* Volume down */
|
||||
Method(_Q1C, 0, NotSerialized)
|
||||
{
|
||||
Trap(SMI_SAVE_CMOS)
|
||||
}
|
||||
|
||||
/* Volume up */
|
||||
Method(_Q1D, 0, NotSerialized)
|
||||
{
|
||||
Trap(SMI_SAVE_CMOS)
|
||||
}
|
||||
|
||||
/* Mute key pressed */
|
||||
Method(_Q1E, 0, NotSerialized)
|
||||
{
|
||||
Trap(SMI_SAVE_CMOS)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue