|
@@ -1064,6 +1064,7 @@ static void hdmi_pin_setup_infoframe(struct hda_codec *codec,
|
|
{
|
|
{
|
|
union audio_infoframe ai;
|
|
union audio_infoframe ai;
|
|
|
|
|
|
|
|
+ memset(&ai, 0, sizeof(ai));
|
|
if (conn_type == 0) { /* HDMI */
|
|
if (conn_type == 0) { /* HDMI */
|
|
struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi;
|
|
struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi;
|
|
|
|
|