]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Initialize output paths with current active states
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Jan 2013 15:33:02 +0000 (16:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:28 +0000 (08:43 +0100)
commit814f066f1d4978ecb144943ee37c57f606f0215f
tree8faf134c6e59d1aaa1830fd38780fe7b6d4d0633
parenta2934ef84326bfa7eb522efbd26cee720e0e7d3b
ALSA: hda - Initialize output paths with current active states

Set path->active flag at the path creation time and let the paths
initialized according to the current path->active state in
set_output_and_unmute().  This allows to modify the active flag of
some output paths dynamically, e.g. switching the front output route
with or without aamix like patch_via.c.

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