Revert "Revert "CHROMIUM: ALSA: hda: delay EAPD de-assert for alex system""
BUG=none
TEST=none
This reverts commit 9910f851a2eb7324000ea2c2b137b4f01a070d41.
Change-Id: I926bc21c72be2f0dfb9c0a70a5dd7bc8516b731a
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/1689
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0a39229..325faa7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1187,12 +1187,18 @@
set_eapd(codec, 0x0f, 1);
set_eapd(codec, 0x10, 1);
break;
+ case 0x10ec0272:
+ /* delay de-assert of eapd to allow biasing of amp
+ inputs to settle avoiding an audible 'pop'
+ */
+ if (codec->subsystem_id == 0x144dc0a7)
+ msleep(25);
+ /* fall through */
case 0x10ec0262:
case 0x10ec0267:
case 0x10ec0268:
case 0x10ec0269:
case 0x10ec0270:
- case 0x10ec0272:
case 0x10ec0660:
case 0x10ec0662:
case 0x10ec0663: