]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:05 +0000 (15:14 -0800)
commit37d5c1571eb1e86ccba104b63921c320e8dd324d
treebf3fcea99728e2758ccb1f9db9fd0704bd269a5b
parent088c4946cf44b5c71c4c9ee69f6df9d7621425be
ALSA: hda - Fix multi-headphone handling for Realtek codecs

commit b2d0576055bd1cafcd91a23cf85064815f1396cd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/hda_codec.c