Re: [PATCH 4.19 15/39] ALSA: hda/generic: Add option to enforce preferred_dacs pairs

From: Takashi Iwai
Date: Fri Dec 11 2020 - 03:45:17 EST


On Fri, 11 Dec 2020 09:36:21 +0100,
Pavel Machek wrote:
>
> Hi!
>
> > From: Takashi Iwai <tiwai@xxxxxxx>
> >
> > commit 242d990c158d5b1dabd166516e21992baef5f26a upstream.
> >
> > 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
>
> Option added is never used as variable is never set. We don't need
> this in 4.19.

Right, it seems that the succeeding fix is queued only for 5.4 and
5.9.

OTOH, this change will help if another quirk is added in near future,
and it's pretty safe to apply, so I think it's worth to keep it.


thanks,

Takashi