CHERRY-PICK: Sound: RT5645: Fix for no beep on dev screen while warm reboot

Compare the register dump from cold reboot and warm reboot.
The RT5645_AD_DA_MIXER value is different. Copy the default value
from kernel driver and check the beep sound played in both cold
and warm reboot.

BRANCH=firmware-celes-7287.92.B
BUG=chrome-os-partner:47774,chrome-os-partner:47127
TEST=Boot and check the beep sound in both cold/warm reboot.

Original-Change-Id: I196bea31f738198556bea110ecae9193dede3267
Signed-off-by: Kevin Cheng <kevin.cheng@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/318142
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
(cherry picked from commit 9823259b274beff629eb8f4a51731f2beaaebf6e)

Change-Id: Ie7c4e3e1f4b20c16100e5a2d81e8e7a0bb2b8640
Reviewed-on: https://chromium-review.googlesource.com/319702
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Anson Tseng <anson.tseng@intel.com>
Tested-by: Anson Tseng <anson.tseng@intel.com>
diff --git a/src/drivers/sound/rt5645.c b/src/drivers/sound/rt5645.c
index ba2d220..19a86f4 100644
--- a/src/drivers/sound/rt5645.c
+++ b/src/drivers/sound/rt5645.c
@@ -167,6 +167,9 @@
 	if (reg == RT5650_DEVICE_ID)
 		rt5645_i2c_writew(codec, 0xF6, 0x0100);
 
+	/* rt5645_reg in kernel driver */
+	rt5645_i2c_writew(codec, RT5645_AD_DA_MIXER, 0x8080);
+
 	/* mixer control to enable SPK */
 	rt5645_i2c_writew(codec, RT5645_SPK_L_MIXER, 0x003c);
 	rt5645_i2c_writew(codec, RT5645_SPK_R_MIXER, 0x003c);