]> git.karo-electronics.de Git - mv-sheeva.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)
commitb2d0576055bd1cafcd91a23cf85064815f1396cd
tree7665cdc951b234154b47b11a3fe365c83d13060d
parentca6cd851d7d22767d68b674590d836f468d1913a
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