Re: [PATCH 4.19 15/39] ALSA: hda/generic: Add option to enforce preferred_dacs pairs
From: Takashi Iwai
Date: Fri Dec 11 2020 - 17:42:59 EST
On Fri, 11 Dec 2020 23:38:22 +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.
>
> I agree that this is safe to apply and makes sense if we get another
> quirk soon. OTOH it is trivial to backport if it is needed.
It's trivial to backport, but it's not trivial to let stable
maintainers to inform beforehand if the next patch has CC-to-stable
tag. Keeping this makes the backport easier, that's the point.
thanks,
Takashi