Sven Schnelle (sv...@stackframe.org) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/162

-gerrit

commit 24cad0c7eba676728bae3c8930febbccf07ea3df
Author: Sven Schnelle <sv...@stackframe.org>
Date:   Fri Aug 19 13:43:04 2011 +0200

    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 <sv...@stackframe.org>
---
 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 2c25d29..560c39c 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 = {

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to