ALSA: hda - Fix wrong HP pin detection in snd_hda_parse_pin_def_config()
commit122661b67899980f1372812d907e73ebcfb3d037
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 12:57:04 +0000 (8 14:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 12:59:26 +0000 (8 14:59 +0200)
treed117a78de8261d39fb445fe69de07d1ad80c2ff6
parent080dc7bc2562615a5be0a705a9d1a8c24eb198d4
ALSA: hda - Fix wrong HP pin detection in snd_hda_parse_pin_def_config()

snd_hda_parse_pin_def_config() has some workaround for re-assigning
some pins declared as headphones to line-outs.  This didn't work properly
for some cases because it used memmove() stupidly wrongly.

Reference: Novell bnc#637263
https://bugzilla.novell.com/show_bug.cgi?id=637263

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