CHROMIUM: alsa: hda: Enable external amp in alex fixup.

Previously Alex amp was enabled in auto_init_amp.  This however
created an audible pop so it was removed.  While removing the pop it
created a bug that if the codec did not have at least one
suspend/resume cycle the amp would never be enabled.  Currently
selective suspend occurs at 5sec and for older kernel (2.6.32) the
codec did suspend prior to any s/w having a chance to acquire it.  Now
with faster 2.6.38 kernel coupled with accessibility enabled at boot
its possible to open the codec < 5sec.

This change correctly enables the amp during the ALC_FIXUP_FUNC phase
which occurs well after auto_init_amp (no popping) and regardless of
whether device enters selective suspend.

Note, removal of EAPD functionality on NID=0x15 included as Alex
design has LOUT2(Port-A) of the ALC272 as a no-connect.

BUG=chromium-os:18775,20661
TEST=manual,  See tracker

Signed-off-by: Todd Broch <tbroch@chromium.org>
Change-Id: I37d75e4756dcc4a879dcfed2c63d7c7b956f86f4
Reviewed-on: http://gerrit.chromium.org/gerrit/8231
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/8569
Reviewed-by: <puneetster@google.com>
1 file changed