ALSA: hda - Clear left-over hp_pins in snd_hda_parse_pin_def_config()
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 13:28:19 +0000 (15:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 13:30:20 +0000 (15:30 +0200)
commit03642c9a444079aa13f0864383a8f9ca04bfd198
tree3e86ea57e4b4f1e08f928d1731c53c2171807e43
parenteb7f80c179bfcbf7df99f1de9ec4aa8971b9334d
ALSA: hda - Clear left-over hp_pins in snd_hda_parse_pin_def_config()

In snd_hda_parse_def_config(), some unused values may remain in hp_pins[]
array during the headphone-reassignment workaround.  This patch clears
the unused array members.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c