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)
This commit is contained in:
parent
b09e748f87
commit
6901b561eb
|
@ -141,6 +141,8 @@ static void h8_enable(device_t dev)
|
||||||
|
|
||||||
if (!get_option(&val, "volume"))
|
if (!get_option(&val, "volume"))
|
||||||
ec_write(H8_VOLUME_CONTROL, val);
|
ec_write(H8_VOLUME_CONTROL, val);
|
||||||
|
|
||||||
|
h8_set_audio_mute(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct chip_operations ec_lenovo_h8_ops = {
|
struct chip_operations ec_lenovo_h8_ops = {
|
||||||
|
|
Loading…
Reference in New Issue