[ALSA] Add speaker pin sequencing to hda_codec.c:snd_hda_parse_pin_def_config()
authorSteve Longerbeam <stevel@embeddedalley.com>
Tue, 8 May 2007 13:33:03 +0000 (15:33 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:56:18 +0000 (16:56 +0200)
commit81937d3bac582ea2249dc2c8891d3371635e8b64
tree2aa6a1787815e04a1684b048c9c0673922c8808d
parentbdd148a307e230517bf891c108e0eec68ba5d10f
[ALSA] Add speaker pin sequencing to hda_codec.c:snd_hda_parse_pin_def_config()

Some verb tables (such as an Asus VT sent by IDT) contain only speaker
outs in the default pin configs, and no line-outs. In such a case the
speaker sequence numbers have to be used to order the speaker out
pins, just as is being done for line-out pins. Then, when speaker-outs
are copied to line-outs, the line-outs will be ordered properly.

Signed-off-by: Steve Longerbeam <stevel@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c