]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda - Add missing terminator in slave dig-out array
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Feb 2009 10:37:08 +0000 (11:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:29:01 +0000 (09:29 -0800)
commit 3a08e30de2facffe8e1a25bf4fa62cbc920fbaf6 upstream.

Added the missing terminator for ad1989b_slave_dig_outs[].

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_analog.c

index 87bade3542bee26e11abbd9670c12787e9802b00..3495e8337501e7fb6f494a6fa2a480ff0650991e 100644 (file)
@@ -1873,8 +1873,8 @@ static hda_nid_t ad1988_capsrc_nids[3] = {
 #define AD1988_SPDIF_OUT_HDMI  0x0b
 #define AD1988_SPDIF_IN                0x07
 
-static hda_nid_t ad1989b_slave_dig_outs[2] = {
-       AD1988_SPDIF_OUT, AD1988_SPDIF_OUT_HDMI
+static hda_nid_t ad1989b_slave_dig_outs[] = {
+       AD1988_SPDIF_OUT, AD1988_SPDIF_OUT_HDMI, 0
 };
 
 static struct hda_input_mux ad1988_6stack_capture_source = {