ALSA: hda - Set the pin targets after deciding output config
authorTakashi Iwai <tiwai@suse.de>
Mon, 21 Jan 2013 09:49:05 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Jan 2013 10:09:03 +0000 (11:09 +0100)
commit9314a5813f62e85c8173adf7fd7e088af3b58942
tree4a4cbc1caeda9887d0cf5041512541d8981146f2
parenta769409cf325b697c439acef5d7c0dc4b6a591ba
ALSA: hda - Set the pin targets after deciding output config

Since fill_and_eval_dacs() may be called repeatedly with different
configurations, setting pinctls at each time there isn't optimal.
We can set it better only once after deciding the output configuration
in parse_output_paths().

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