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)
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>

No differences found