diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-08-19 13:43:04 +0200 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-08-19 14:17:06 +0200 |
commit | 6901b561eb39904c0d44c59e71c58952b690d8d8 (patch) | |
tree | 63ca08dba1223220446b7ff250a2cf77077a7d99 | |
parent | b09e748f87c1a4a0b2ea2603fb5135afce006daa (diff) | |
download | coreboot-6901b561eb39904c0d44c59e71c58952b690d8d8.tar.xz |
Lenovo H8: Always clear audio mute
The mute bit is set by ACPI before poweroff/going to suspend.
So clear it after resume, to have working volume control
even if the ACPI doesn't clear it on resume.
OSPM should control Audio mute with ec bit 0x30:6, so it is
safe to clear this bit even if the user has audio muted.
Change-Id: I18bebe532bf21cfb61b3d294a396bf15012f9f1a
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/162
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/ec/lenovo/h8/h8.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index 2c25d29141..560c39cb87 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -141,6 +141,8 @@ static void h8_enable(device_t dev) if (!get_option(&val, "volume")) ec_write(H8_VOLUME_CONTROL, val); + + h8_set_audio_mute(0); } struct chip_operations ec_lenovo_h8_ops = { |