summaryrefslogtreecommitdiff
path: root/src/ec/lenovo
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-10-16 07:44:26 +0200
committerMartin Roth <martinroth@google.com>2016-11-02 18:26:40 +0100
commit318ed6f8188c3f797fd2fbbc8122f5e2cb8b63d3 (patch)
treecdb73d268156f6adbdedef1f566daf06410c6db2 /src/ec/lenovo
parent83df672d2ce481686c5c4e04625bc1b97d7a4a8b (diff)
downloadcoreboot-318ed6f8188c3f797fd2fbbc8122f5e2cb8b63d3.tar.xz
ec/lenovo/h8: move H8_SOUND_REPEAT downwards to it's comment
Change-Id: Ib147d90c31421c46faf99517fd07d290fd6b90a9 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: https://review.coreboot.org/17036 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/lenovo')
-rw-r--r--src/ec/lenovo/h8/h8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index 4e8172e171..703acaddb4 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -288,11 +288,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);