diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-07-04 12:54:22 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-04 12:54:22 +0200 |
commit | 8f0b3b7e222383a21f7d58bd97d5552b3a5dbced (patch) | |
tree | ec71467915de475a3d049989f3dc483b6073381d /sound/soc/samsung | |
parent | 1ba65ae4bdbd43265c51ee4c30ff21a48124b6d8 (diff) |
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: <stable@vger.kernel.org> [v3.9+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/samsung')
0 files changed, 0 insertions, 0 deletions