summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-10-01 15:14:36 +0300
committerTakashi Iwai <tiwai@suse.de>2024-10-02 09:13:34 +0300
commit1c801e7f77445bc56e5e1fec6191fd4503534787 (patch)
treea8c4208a25c06c26175bd859ec0a7fb09a9fd2c9 /drivers/cdx/controller/cdx_controller.c
parenta04dae6fa4fc56c6a29cd40e133ef6a77f2c7e4e (diff)
downloadlinux-1c801e7f77445bc56e5e1fec6191fd4503534787.tar.xz
ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
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>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions