X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fhda_eld.c;h=bc2e08257c2e55a91d03a64813684be6cc708c84;hb=5807fcaa9bf7dd87241df739161c119cf78a6bc4;hp=563984dd25622008e5bf377ba10cc99c25f72635;hpb=9f30a04d768f64280dc0c40b730746e82f298d88;p=cascardo%2Flinux.git diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index 563984dd2562..bc2e08257c2e 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c @@ -253,6 +253,7 @@ int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e, int mnl; int i; + memset(e, 0, sizeof(*e)); e->eld_ver = GRAB_BITS(buf, 0, 3, 5); if (e->eld_ver != ELD_VER_CEA_861D && e->eld_ver != ELD_VER_PARTIAL) {