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)
commite1284af730792344f96e1428a6199e19699dfccc
tree8faf134c6e59d1aaa1830fd38780fe7b6d4d0633
parent985803ca91c3039afd15a2fd32a9ef5771652cee
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