Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2069767pxu; Sun, 13 Dec 2020 12:35:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1xGl71HK3TYBiIq5PoYRGo+/8PBp1Bhqs2UxV2HLTnb5FxsZRVai5euzt3feyEFBshvpY X-Received: by 2002:a05:6402:1d13:: with SMTP id dg19mr21960594edb.111.1607891740722; Sun, 13 Dec 2020 12:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607891740; cv=none; d=google.com; s=arc-20160816; b=Nd7ZcsnpkPzf4ZdL+Y1U19brkPNJ7wm7uNkbmgmZz062k4paqQ2cxDCFcW3on13TSW ICCPtDb1IyIC2CF+FnZZFqhMT+uiZzwbnWPn+PnbCU/GEwfO3oNsO1ENYAVeIEbIsFNr rA9smHFpUNCK83efPh2i7ClFwDz/UeIlmTFOJ1r2W0V5ya3GR/cPMud8X5SywItY33UC NDA/Ll5R7M4xxn4xtwYi/dluWkBjtp2rl+t+nnQy3YPUCgG9Eua5eMglgqzG0iu7vFF+ mUqTkvgSaAtWsXKYDHL6CN1r73LKeDCLvWjM3l3v4v+nEoI7SvFCbBeAXhsPjzvn4cbA nAVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=863m87siiuW+ZfwbNb55h9C85maFvXw0AWDgyKzSBcA=; b=zjllJApPMGEtb0zocodliKjqbv97XS3G7RV0ryQc2Jq/ODE+luZvr+ahLnuePotonC HNy9bO4efdLvqwM+Uh0hM2Fv5awcFLxysO5+3nHTXyZxdk2PPNzqq/iqJOFtmGCZgAkh sj3zcvsl5afrase1D1C/n8h0tUSbh6ZCDQdikiX0CYvwYMsxcd4ngDi1dBJL/zOdo8aQ 0jU34akvuzLrGwYGVl6dNuIxRNAyynl1TAMUcdtTZhQ7qz4/s8nDpndtIAdFF1LsAADL Mb/lqSBj7sgPzJ916tVKBasjEZqiWZvKfuzJ0Dw+gG0NzD2sebGFvDPYdbL6YDNEdhn8 DoAA== 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 a17si8957510edn.146.2020.12.13.12.35.16; Sun, 13 Dec 2020 12:35:40 -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 S2394073AbgLKWmG (ORCPT + 99 others); Fri, 11 Dec 2020 17:42:06 -0500 Received: from mx2.suse.de ([195.135.220.15]:38644 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393966AbgLKWld (ORCPT ); Fri, 11 Dec 2020 17:41:33 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D8EF5AD63; Fri, 11 Dec 2020 22:40:51 +0000 (UTC) Date: Fri, 11 Dec 2020 23:40:51 +0100 Message-ID: From: Takashi Iwai To: Pavel Machek Cc: 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 In-Reply-To: <20201211223822.GB18452@amd> References: <20201210142602.272595094@linuxfoundation.org> <20201210142603.037114540@linuxfoundation.org> <20201211083621.GA9395@duo.ucw.cz> <20201211223822.GB18452@amd> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Dec 2020 23:38:22 +0100, Pavel Machek wrote: > > Hi! > > > > > From: Takashi Iwai > > > > > > > > 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