From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 5E4D3C433C1 for ; Tue, 30 Mar 2021 19:27:40 +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 C4C69619AB for ; Tue, 30 Mar 2021 19:27:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4C69619AB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com 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 8AC251660; Tue, 30 Mar 2021 21:26:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8AC251660 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1617132456; bh=eq+HXrVJrTAVshUi84DQShpc4v7czfwveWqZvpE36HQ=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=FfzKxJ8tAQ0kAt75EHa5Ir1tapCik1TmDO5aP6xBUXVbA4yUjjA6Hhs801Wds9oii wVIJyK11KhkyOIyg8Xvv2xoRxMdKoc+CbdJ9O/IHz1AntHjUBBt2rW/yDcOe6rvTXz Uyqlz16Hx/py7dGqoW15U9V07KMqN8IzGvVyfWT0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0B214F8023E; Tue, 30 Mar 2021 21:26:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C5AC4F80240; Tue, 30 Mar 2021 21:26:44 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0ADFDF8014E for ; Tue, 30 Mar 2021 21:26:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0ADFDF8014E IronPort-SDR: Pgi1Wk0Npuh3V//j+Xs5J/3km4JS7ZspieCziA5y4TPgAtrp3acdh6BYAYUWa4YIb6VYykyID6 FBIorSQgsI+A== X-IronPort-AV: E=McAfee;i="6000,8403,9939"; a="212062552" X-IronPort-AV: E=Sophos;i="5.81,291,1610438400"; d="scan'208";a="212062552" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 12:26:35 -0700 IronPort-SDR: XWc9DDgrfb5nhSAn5ey7ehcucwGl7YLKHydfD62OFhx1+w6ANPiq4Eggou2FZi20jGp4Bnzmrm J47dXXnlk0dw== X-IronPort-AV: E=Sophos;i="5.81,291,1610438400"; d="scan'208";a="610213285" Received: from magnuson-mobl1.amr.corp.intel.com (HELO [10.254.111.68]) ([10.254.111.68]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 12:26:34 -0700 Subject: Re: [PATCH v2 2/3] ASoC: rt715: remove kcontrols which no longer be used To: Jaroslav Kysela , Mark Brown , Jack Yu References: <5c314f5512654aca9fff0195f77264de@realtek.com> <20210330170915.GH4976@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: <3102f11c-d2bc-c53e-ac68-60628b990515@linux.intel.com> Date: Tue, 30 Mar 2021 14:26:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Oder Chiou , "alsa-devel@alsa-project.org" , "lars@metafoo.de" , "lgirdwood@gmail.com" , =?UTF-8?B?RGVyZWsgW+aWueW+t+e+qV0=?= , "bard.liao@intel.com" , =?UTF-8?B?U2h1bWluZyBb6IyD5pu46YqYXQ==?= , "Flove\(HsinFu\)" , "pierre-louis.bossart@intel.com" 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" >>> Using new kcontrols "Capture Switch" and "Capture Volume" instead, >>> remove kcontrols which no longer be used. >> >> Is this going to disrupt any UCM profiles? > > Yes (the rt715 prefix is from the SOF driver): > > # RT715 specific volume control settings > > BootSequence [ > cset "name='rt715 DMIC3 Boost' 2" > cset "name='rt715 DMIC4 Boost' 2" > cset "name='rt715 ADC 24 Mux' 3" > cset "name='rt715 ADC 25 Mux' 4" > cset "name='rt715 ADC 27 Capture Switch' 1" > cset "name='rt715 ADC 07 Capture Switch' 1" > cset "name='rt715 ADC 07 Capture Volume' 58" > ] To be clearer, we wanted to change the UCM files to only try to configure the 'old' controls when they are present. The 'new' controls are aligned between RT715 and RT715-sdca. There will be a minor inconvenience if an existing platform updates the kernel without updating UCM files, but it's the only solution we found in earlier discussions. Distributions are typically faster with alsa-ucmconf updates than kernel changes so that inconvenience is likely very limited (we support 4-5 Dell CML/TGL platforms w/ SoundWire)