From c7efcb7a77efc07d38e6b6766b48a02305d4d84f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 8 Sep 2010 15:28:19 +0200 Subject: [PATCH] --- yaml --- r: 216675 b: refs/heads/master c: 03642c9a444079aa13f0864383a8f9ca04bfd198 h: refs/heads/master i: 216673: 54feb363b577dac0cfc19a12ae8bfafb48979912 216671: 2f4139c88ec02a48aea431d9f68f1d73a3ece44c v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_codec.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c8341660dc21..10b3851243e3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eb7f80c179bfcbf7df99f1de9ec4aa8971b9334d +refs/heads/master: 03642c9a444079aa13f0864383a8f9ca04bfd198 diff --git a/trunk/sound/pci/hda/hda_codec.c b/trunk/sound/pci/hda/hda_codec.c index 2980c277847a..bfdde7b0bafb 100644 --- a/trunk/sound/pci/hda/hda_codec.c +++ b/trunk/sound/pci/hda/hda_codec.c @@ -4558,6 +4558,8 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec, memmove(sequences_hp + i, sequences_hp + i + 1, sizeof(sequences_hp[0]) * (cfg->hp_outs - i)); } + memset(cfg->hp_pins + cfg->hp_outs, 0, + sizeof(hda_nid_t) * (AUTO_CFG_MAX_OUTS - cfg->hp_outs)); } /* sort by sequence */