]> git.baikalelectronics.ru Git - kernel.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)
commitc77e615552c53a056c73ce37dd6e78e5981355fd
tree988c1e5b41e676f57930d6e4171fe89e031233ad
parent7aeeda03c905f4d9145e1c3f918f001ac83a31f1
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