]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add Loopback Mixing control
authorTakashi Iwai <tiwai@suse.de>
Fri, 4 Jan 2013 15:42:48 +0000 (16:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:42 +0000 (08:43 +0100)
commit634a9a45f3eceb498e9e6fd0a78a4d9215719712
treeb1da236fb6df50dd8be84af255956289e0a781d8
parent0caf83c7ced58b7d6759b8133c6a4c28b6a7c0be
ALSA: hda - Add Loopback Mixing control

For codecs that have individual routes going through a loopback mixer
(like VIA codecs), we need to provide an explicit switch to choose
whether the output goes through mixer or directly from DAC.

This patch adds the check for such paths and creates "Loopback Mixing"
enum control when available.

It won't influence on codecs like Realtek or others where the loopback
mixer is connected independently from the primary output routes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h