]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't skip amp init for activated paths
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Jan 2013 15:30:04 +0000 (16:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:26 +0000 (08:43 +0100)
commita2934ef84326bfa7eb522efbd26cee720e0e7d3b
tree4db77415b083e71e44019a74959226c748c0705d
parentc6d6cd5ec828f8a119fd6559e4888846cb9a69e7
ALSA: hda - Don't skip amp init for activated paths

activate_amp() in the generic parser checks whether the given NID is
included in any active paths and skips it if found.  This was a
workaround for avoiding disabling the widgets in the active paths when
one path is disabled, thus it shouldn't be applied to the case for
path activation.  Due to this wrong check, some analog loopback paths
haven't been initialized correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c