lenovo: Disable radio when suspending or turning off.
Without this some radios may remain operational. They may consume power but the immediate demonstrable effect is wireless LED still being on. Coreboot will reenable radios on resume or poweron. Change-Id: I9fcb08880964b1594f779a246840bc3013a44afe Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10190 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
This commit is contained in:
@@ -43,6 +43,10 @@ Device(EC)
|
||||
EVNT, 8, /* write will trigger EC event */
|
||||
Offset (0x3a),
|
||||
AMUT, 1, /* Audio Mute */
|
||||
, 3,
|
||||
BTEB, 1,
|
||||
WLEB, 1,
|
||||
WWEB, 1,
|
||||
Offset (0x3B),
|
||||
, 1,
|
||||
KBLT, 1, /* Keyboard Light */
|
||||
@@ -90,6 +94,13 @@ Device(EC)
|
||||
Store(Arg0, AMUT)
|
||||
}
|
||||
|
||||
Method (RADI, 1, NotSerialized)
|
||||
{
|
||||
Store(Arg0, WLEB)
|
||||
Store(Arg0, WWEB)
|
||||
Store(Arg0, BTEB)
|
||||
}
|
||||
|
||||
Method (USBP, 1, NotSerialized)
|
||||
{
|
||||
Store(Arg0, USPW)
|
||||
|
Reference in New Issue
Block a user