Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1635083pxu; Sat, 12 Dec 2020 21:23:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhs1xZRZzxpML5F1ekgar0wOMh0X7mAHTrCelmSMXJNNI/xhirANTC9V4R0eR38JLy2Lk/ X-Received: by 2002:a50:ab51:: with SMTP id t17mr19459413edc.89.1607837028568; Sat, 12 Dec 2020 21:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607837028; cv=none; d=google.com; s=arc-20160816; b=VN5yh7Bn3Px8BoHKoqkWXpVJWqBFtzaM3izLSab3WAerLN5eDba5EjKoOT4vc7Sc5A RWxlJZj4X9TFnCwWmMaqTGmo3ABx2t1CW3mVJH1SfVs7gaV468ZR4f3qbkZTGOeAkasT oV5b4GoJsJcAyZZw6w9/O43Q4InOpDymwQoJfvIXr9XT18JAVewg4pNfyhHCJBVfeoRQ LLjDcduRdLSJeqB5Ld3oCDGGOg5xBI5o+QIRjX2ltkpQITXkIGz/0Z2iVmMEvEDXPKPs EaZBUNaV4GfPxtiQqgSfg9UTI3fUG1qYMYqbOwYxz3XxchQ88pcMc4BQm5xSojoW3hvL xa7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bu75aMEN23ilYr2l1uVH2EhsuovtSeDEGkmPTx1Wlc4=; b=Lp4AXYBFdNvRT4/3HweWR/pOUKjVSKpeOccuHO6XddMF972t7BDdqv7ZIosSeEQGdN kSEyOR9/eewzkDm9NiTkXkcQHjyXcrOudx8Yj/bgnBZzyovQ6IFycZLvNdI0qF4bIrjV OHJxTkccJl/peHPG5Y//pz4lOHGRSY3CG2btr/1h+GrXOf0rQka7ez5DQtoZVJlwpHvV PIR6ahTZworzNTr2KytL332qjnM3TIXhEPKtHd9linmZjx+GW3sZTHTkxuNdK2eZXbLp 2lLIzwDHxqRnR8SMj/oHN4mqVA4oBnlkQXT/kADemRZzAvtVmaLgyxl3Jr6jR9R/Gh7j veEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si4752220ejx.617.2020.12.12.21.23.25; Sat, 12 Dec 2020 21:23:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406997AbgLKWju (ORCPT + 99 others); Fri, 11 Dec 2020 17:39:50 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:45164 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406972AbgLKWjV (ORCPT ); Fri, 11 Dec 2020 17:39:21 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 297DB1C0BC5; Fri, 11 Dec 2020 23:38:23 +0100 (CET) Date: Fri, 11 Dec 2020 23:38:22 +0100 From: Pavel Machek To: Takashi Iwai Cc: Pavel Machek , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 4.19 15/39] ALSA: hda/generic: Add option to enforce preferred_dacs pairs Message-ID: <20201211223822.GB18452@amd> References: <20201210142602.272595094@linuxfoundation.org> <20201210142603.037114540@linuxfoundation.org> <20201211083621.GA9395@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > From: Takashi Iwai > > >=20 > > > commit 242d990c158d5b1dabd166516e21992baef5f26a upstream. > > >=20 > > > 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. > > >=20 > > > This patch adds a new flag, obey_preferred_dacs, that changes the > > > behavior of the parser. As its name stands, the parser obeys the > >=20 > > Option added is never used as variable is never set. We don't need > > this in 4.19. >=20 > Right, it seems that the succeeding fix is queued only for 5.4 and > 5.9. >=20 > 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. Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl/T9N4ACgkQMOfwapXb+vJLbACfY1I3Vuk/n8LIY5QyIKk9yTcm l/8AnRj5OmlyXp9G3TdWxaCeFwMKlkcQ =GLKi -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--