]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - Add static DAC/pin mapping for AD1986A codec
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2013 16:29:26 +0000 (17:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2013 06:16:20 +0000 (07:16 +0100)
commit3690739b013504d33fe9348dd45f6b126aa370fb
tree988c1e5b41e676f57930d6e4171fe89e031233ad
parent7dca4bc6f34829db50d9723ac3bcd1c6518ee6c3
ALSA: hda - Add static DAC/pin mapping for AD1986A codec

AD1986A codec is a pretty old codec and has really many hidden
restrictions.  One of such is that each DAC is dedicated to certain
pin although there are possible connections.  Currently, the generic
parser tries to assign individual DACs as much as possible, and this
lead to two bad situations: connections where the sound actually
doesn't work, and connections conflicting other channels.

We may fix this by trying to find the best connections more harder,
but as of now, it's easier to give some hints for paired DAC/pin
connections and honor them if available, since such a hint is needed
only for specific codecs (right now only AD1986A, and there will be
unlikely any others in future).

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64971
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=66621
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h
sound/pci/hda/patch_analog.c