diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-27 15:11:03 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-28 09:29:52 +0100 |
commit | 242d990c158d5b1dabd166516e21992baef5f26a (patch) | |
tree | e4640cd9fe9e1eb84ebfcf95d740d51f5162ce75 /sound/usb | |
parent | 5ef5bee02f1a7ae0706a7236867fddb26d8e8650 (diff) |
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>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions