UPSTREAM: ec/lenovo/h8: move H8_SOUND_REPEAT downwards to it's comment

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: Ib147d90c31421c46faf99517fd07d290fd6b90a9
Reviewed-on: https://chromium-review.googlesource.com/407178
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Alexander Couzens 2016-10-16 07:44:26 +02:00 committed by chrome-bot
commit 810c109317

View file

@ -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);