linux-IllusionX/sound
Takashi Iwai 242d990c15 ALSA: hda/generic: Add option to enforce preferred_dacs pairs
The generic parser accepts the preferred_dacs[] pairs as a hint for
assigning a DAC to each pin, but this hint doesn't work always
effectively.  Currently it's merely a secondary choice after the trial
with the path index failed.  This made sometimes it difficult to
assign DACs without mimicking the connection list and/or the badness
table.

This patch adds a new flag, obey_preferred_dacs, that changes the
behavior of the parser.  As its name stands, the parser obeys the
given preferred_dacs[] pairs by skipping the path index matching and
giving a high penalty if no DAC is assigned by the pairs.  This mode
will help for assigning the fixed DACs forcibly from the codec
driver.

Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201127141104.11041-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-11-28 09:29:52 +01:00
..
ac97
aoa
arm
atmel
core ALSA: ctl: fix error path at adding user-defined element set 2020-11-13 11:33:55 +01:00
drivers
firewire ALSA: firewire: Clean up a locking issue in copy_resp_to_buf() 2020-11-13 18:37:22 +01:00
hda
i2c
isa
mips
oss
parisc
pci ALSA: hda/generic: Add option to enforce preferred_dacs pairs 2020-11-28 09:29:52 +01:00
pcmcia
ppc
sh
soc ASoC: Fixes for v5.10 2020-11-27 15:02:30 +01:00
sparc
spi
synth
usb ALSA: usb-audio: US16x08: fix value count for level meters 2020-11-27 14:56:40 +01:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c