Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22F7EC433DB for ; Sun, 17 Jan 2021 16:53:47 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 363D9207AE for ; Sun, 17 Jan 2021 16:53:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 363D9207AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=perex.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 88C6D16DF; Sun, 17 Jan 2021 17:52:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 88C6D16DF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1610902421; bh=NxMNkhnumF0Q70cWqt+XA4NCCkQN1waOdycLIIq2mKc=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Z32lKn+m/LS11/x/SIHFOPDnLZg3vHebLdN3Uc7LWgcSh1Dw9plotGz5diEpyKupF BclEJ+np10bykekQd1TRiSqbWVdsN2uXzpgZsUFAUU2BaJMNqX849JHwi/iHIgnrZi hmoTYD7AVIa1CnaASWopm4HYwCbD40aCjqR4E8iQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 231A0F80255; Sun, 17 Jan 2021 17:52:51 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 576B8F80257; Sun, 17 Jan 2021 17:52:49 +0100 (CET) Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C22F3F80115 for ; Sun, 17 Jan 2021 17:52:41 +0100 (CET) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id A9ACAA0040; Sun, 17 Jan 2021 17:52:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz A9ACAA0040 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1610902360; bh=pONkltYzHHcbwWytTI+TZ9ecunPJlgVVo6xkX04/Dz0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=08KAn5/shRNvFT6A+4Ml4lUsT8Iw6gbmj75kLEt+8lUCQoXLxN4p1HBIA6vC3LZg/ omzffA4eXumb6TA7xn28VXtdf7CtgD7i79gw2uYDFuAbttOqmdx6d7Gz9baKmmXeFn RNrFE5gmHgu8q+eG/dJ85bXI5+ORjViI2RVbrw3U= Received: from p1gen2.localdomain (unknown [192.168.100.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Sun, 17 Jan 2021 17:52:37 +0100 (CET) Subject: Re: [PATCH alsa-ucm-conf 1/3] chtnau8824: Move DAC Channel Source selection to Speaker/Headphones EnableSeq To: Hans de Goede References: <20201216153838.34945-1-hdegoede@redhat.com> <7c075e59-8576-99e9-3688-1ab858e59716@redhat.com> From: Jaroslav Kysela Message-ID: <90f18f8a-192e-fa2c-8975-93acd70006ee@perex.cz> Date: Sun, 17 Jan 2021 17:52:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <7c075e59-8576-99e9-3688-1ab858e59716@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: alsa-devel@alsa-project.org, Pierre-Louis Bossart X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Dne 17. 01. 21 v 17:09 Hans de Goede napsal(a): > Hi, > > On 12/16/20 4:38 PM, Hans de Goede wrote: >> Move DAC Channel Source selection to Speaker/Headphones EnableSeq. >> >> The main reason for doing this is to make it easier to allow using >> variables, as the Speaker/Headphones conf files are evaluated after >> the main HiFi.conf had a chance to set them. >> >> Signed-off-by: Hans de Goede > > ping? It would be nice to get this series merged for proper SOF > support. > > Maybe this got confused with my other UCM chtnau8824 series which > I send 10 days before t Hi, Thanks for the reminder. I though that this one was resolved. I don't think that we need the first change - the evaluation for If and Include sequences is executed before SectionVerb {} parsing. So the If...Define.RightOutputChannel should be valid for SectionVerb...Include...File "/codecs/nau8824/EnableSeq.conf". The 'DACR Channel Source' control seems to require a static settings so keeping it in the verb init sequence has sense. I applied the second (SST variable) patch for now. It's nice cleanup. Thanks. Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.