aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 994713cb07bc..4751eab69ab7 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -1064,6 +1064,7 @@ static void hdmi_pin_setup_infoframe(struct hda_codec *codec,
1064{ 1064{
1065 union audio_infoframe ai; 1065 union audio_infoframe ai;
1066 1066
1067 memset(&ai, 0, sizeof(ai));
1067 if (conn_type == 0) { /* HDMI */ 1068 if (conn_type == 0) { /* HDMI */
1068 struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi; 1069 struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi;
1069 1070