[coreboot-gerrit] New patch to review for coreboot: ec/lenovo/h8: move H8_SOUND_REPEAT downwards to it's comment

Alexander Couzens (lynxis@fe80.eu) gerrit at coreboot.org
Sun Oct 16 07:48:28 CEST 2016


Alexander Couzens (lynxis at fe80.eu) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17036

-gerrit

commit f9c701ca6a4943868092ec7e1ed914f8f51f9342
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sun Oct 16 07:44:26 2016 +0200

    ec/lenovo/h8: move H8_SOUND_REPEAT downwards to it's comment
    
    Change-Id: Ib147d90c31421c46faf99517fd07d290fd6b90a9
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 src/ec/lenovo/h8/h8.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index db972f9..5cb31f9 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -286,11 +286,11 @@ static void h8_enable(struct device *dev)
 	ec_write(H8_CONFIG2, conf->config2);
 	ec_write(H8_CONFIG3, conf->config3);
 
-	ec_write(H8_SOUND_REPEAT, 0x00);
 	if (!acpi_is_wakeup_s3())
 		h8_configure(conf);
 
 	/* silence sounds in queue */
+	ec_write(H8_SOUND_REPEAT, 0x00);
 	ec_write(H8_SOUND_REG, 0x00);
 
 	ec_write(0x10, conf->event0_enable);



More information about the coreboot-gerrit mailing list