ALSA: hda - Don't add unnecessary indices on HDMI and SPDIF
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 18 Jan 2013 14:43:03 +0000 (15:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 14:56:07 +0000 (15:56 +0100)
commit3f25dcf691ebf45924a34b9aaedec78e5a255798
tree50983816095172e369bfe67c860dfa62c59d8340
parent8e8db7f123dcc4d56464fc584667c8f9ae9f4aef
ALSA: hda - Don't add unnecessary indices on HDMI and SPDIF

If there's one each of HDMI and SPDIF, we should not add an index
on the one that comes second.

[slight code refactoring by tiwai]

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c