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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 Feb 2009 10:53:27 +0000 (11:53 +0100)
Added the missing terminator for ad1989b_slave_dig_outs[].

Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c

index 2e7371ec2e2319fcebe123ed36fe87b58e5e4cbf..7006d62ca6c2f64cde1ee7289df014f77cd4d25a 100644 (file)
@@ -1885,8 +1885,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 = {
This page took 0.029416 seconds and 5 git commands to generate.