From: Takashi Iwai Date: Thu, 4 Jul 2013 10:54:22 +0000 (+0200) Subject: ALSA: hda - Fix EAPD vmaster hook for AD1884 & co X-Git-Tag: v3.11-rc1~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0b3b7e222383a21f7d58bd97d5552b3a5dbced;p=pandora-kernel.git ALSA: hda - Fix EAPD vmaster hook for AD1884 & co ad1884_fixup_hp_eapd() tries to set the NID for controlling the speaker EAPD from the pin configuration. But the current code can't work expectedly since it sets spec->eapd_nid before calling the generic parser where the autocfg pins are set up. This patch changes the function to set spec->eapd_nid after the generic parser call while it sets vmaster hook unconditionally. The spec->eapd_nid check is moved in the hook function itself instead. Cc: [v3.9+] Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed