[ALSA] hda-codec - Fix SPDIF device number of ALC codecs
commite08a007d1041e0bc3df6b855043d8efde91851aa
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Sep 2006 15:52:14 +0000 (7 17:52 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:46:46 +0000 (23 10:46 +0200)
treeace6ac98dec5bfc7a658df9aa6d0c78393b8598b
parentdafbbb1fdbf103b24d0f7aa645625b6bd558c896
[ALSA] hda-codec - Fix SPDIF device number of ALC codecs

Assign the SPDIF always to the secondary device (dev#1) to keep
the same configuration.  Move the optional capture device to the
third device (dev#2).
hda_intel now just ignores the NULL entries in the pcm arrays
from codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_realtek.c