ALSA: hda: use last DAC defined for hp_pin
authorMatthew Ranostay <mranostay@embeddedalley.com>
Wed, 24 Sep 2008 01:46:30 +0000 (21:46 -0400)
committerJaroslav Kysela <perex@perex.cz>
Fri, 10 Oct 2008 11:41:27 +0000 (13:41 +0200)
Patch allows the last DAC in the dac_nids for the hp_nid if there is an
available one this isn't in use by a line_out entry or if hp_nid isn't already
defined. This solves the issues with the 'Headphone Playback' mixer
controls on the 92hd73xxx branch and possibly others.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found