kernel_samsung_a53x/sound/pci
Takashi Iwai 17488b6baa ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
[ Upstream commit 1c801e7f77445bc56e5e1fec6191fd4503534787 ]

Some time ago, we introduced the obey_preferred_dacs flag for choosing
the DAC/pin pairs specified by the driver instead of parsing the
paths.  This works as expected, per se, but there have been a few
cases where we forgot to set this flag while preferred_dacs table is
already set up.  It ended up with incorrect wiring and made us
wondering why it doesn't work.

Basically, when the preferred_dacs table is provided, it means that
the driver really wants to wire up to follow that.  That is, the
presence of the preferred_dacs table itself is already a "do-it"
flag.

In this patch, we simply replace the evaluation of obey_preferred_dacs
flag with the presence of preferred_dacs table for fixing the
misbehavior.  Another patch to drop of the obsoleted flag will
follow.

Fixes: 242d990c158d ("ALSA: hda/generic: Add option to enforce preferred_dacs pairs")
Link: https://bugzilla.suse.com/show_bug.cgi?id=1219803
Link: https://patch.msgid.link/20241001121439.26060-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:37 +01:00
..
ac97 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ali5451 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asihpi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
au88x0 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aw2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ca0106 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs46xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs5535audio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ctxfi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
echoaudio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emu10k1 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs 2024-11-23 23:21:37 +01:00
ice1712 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
korg1212 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lola Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lx6464es Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mixart Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nm256 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-11-18 12:12:47 +01:00
pcxhr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
riptide Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme9652 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trident Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vx222 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ymfpci Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ad1889.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ad1889.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ak4531_codec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
als300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
als4000.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atiixp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atiixp_modem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
azt3328.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
azt3328.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bt87x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmipci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs4281.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs5530.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ens1370.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ens1371.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
es1938.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
es1968.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fm801.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel8x0.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel8x0m.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maestro3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme96.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sis7019.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sis7019.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sonicvibes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via82xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via82xx_modem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00