]> 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)
commit2ebdeebdc71177ffddfd9c5a269d3635a5308a1f
treeb1da236fb6df50dd8be84af255956289e0a781d8
parent6632e109b4475821c34cbb00de458bc0b52e0bf1
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