]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix multi-headphone handling for Realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Jan 2011 13:47:35 +0000 (14:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jan 2011 13:51:32 +0000 (14:51 +0100)
commit5bf3a6dd5f2a7322d5ea07ad1b65273b404a7127
tree7665cdc951b234154b47b11a3fe365c83d13060d
parent35afece2488201325865db99343ab217e06102db
ALSA: hda - Fix multi-headphone handling for Realtek codecs

When multiple headphone pins are defined without line-out pins, the
driver takes them as primary outputs.  But it forgot to set line_out_type
to HP by assuming there is some rest of HP pins.  This results in some
mis-handling of these pins for Realtek codec parser.  It takes as if
these are pure line-out jacks.

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