]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix wrong HP pin detection in snd_hda_parse_pin_def_config()
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 12:57:04 +0000 (14:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:28 +0000 (13:36 -0700)
commite46eb17f9d1ed722daae4297623e267c3fc17547
tree08199a473ea019e08eb66586cc23d3cd13e4223b
parente9073fb9554a452a7ec7731b7f36f1e8e07106fe
ALSA: hda - Fix wrong HP pin detection in snd_hda_parse_pin_def_config()

commit 122661b67899980f1372812d907e73ebcfb3d037 upstream.

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

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