Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp346991imw; Thu, 14 Jul 2022 02:24:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uxSsOtN5JlN0+qJxZoWrQpjdiGRyu2mskYiZW1OjuNujwVGlFy+08jyrEsc1cqL7j9ngqP X-Received: by 2002:aa7:dd06:0:b0:43b:247e:3d6c with SMTP id i6-20020aa7dd06000000b0043b247e3d6cmr2407286edv.407.1657790666873; Thu, 14 Jul 2022 02:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657790666; cv=none; d=google.com; s=arc-20160816; b=0zxq4vOIycv++alkuAqdTHIcT8+XGSqYB6N+eZyJLSRqbcLvriE8BNeK6Yn8vTOxnO +lXQUb7MiGf9r841ME2jFbwhPuaaoGyI1c8uFV/1tOh2ctJJbG6/kXkugXWPSM46CgzR SA0Xr/eObIiwacPXOeifXCSzFwd3EsrySUFvLh9bEM5bxJwhf9bINOlTqS+6TpyJBGFt qxO2HD0wmnd7RDvAnRwPInNINw5GD23sB8u9gBS1/TtlnSAvOmNu76ZVxs7qgsSSErER tGab/3IZUdGG+Fn/86nD9SBpJU19rW4dXX0w7UJFJ/8orvViPOz7QRmUDNM8d7uxt/9/ k4cQ== 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:dkim-signature:dkim-signature; bh=Z7Ms0VwrdnBZu0MBDaEoQImBZ8BRNjuXexveGAU2nAY=; b=WEhy5VKh9GIyqX9jnPh+M6K3//N6YIqaQUGMezTtU0A+Ef2iH+JHvTnDWLAm7788VQ nFS0iSTJknmz0cgA6LYWwAzHDymzw/93lEl9Y/tlkm35XH+H5iUxG1EEj5z7Jp6poD95 E8Or1iFq7RgwESnZFcvPKKssrMoIqNK9iv4IbmXJtzXkZIN5KI2xv08829xqbmvHEOiV oQqTQvcYRLkEcvx/H2B/ZyhzG56ONBAK55Qhp95/fhSp5/pWScY5S1x7zNukF1/pBBCo hCQoOjL52z9OT9c5xWFXD8P58m4DstVEPvqc19JnIlUqO1AmMgMMM+qRgKqf71Id3qSf GYrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="AT7/AeaR"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=VJuORmy8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a1709061b4800b0072b1433b2e7si595632ejg.300.2022.07.14.02.24.02; Thu, 14 Jul 2022 02:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="AT7/AeaR"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=VJuORmy8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237536AbiGNJDV (ORCPT + 99 others); Thu, 14 Jul 2022 05:03:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiGNJDT (ORCPT ); Thu, 14 Jul 2022 05:03:19 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D4A42AFE for ; Thu, 14 Jul 2022 02:03:18 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 728B41FA4C; Thu, 14 Jul 2022 09:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657789397; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z7Ms0VwrdnBZu0MBDaEoQImBZ8BRNjuXexveGAU2nAY=; b=AT7/AeaR8/9/wos+JCmbFOAR9SK3sWhuD8Jj/o09c0DYb/ZkcP/GvBL1fbcry/B3/9w5Re /BjnF83wsOMcxd9K/cuNwYsTY+7tnWqIM0D6+aDBaMnBjHy2VTwzjjMxI5KFUrfk/6vYq3 4mAgj9jif6aiDuzpQy8fvnNxyNMHfN0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657789397; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z7Ms0VwrdnBZu0MBDaEoQImBZ8BRNjuXexveGAU2nAY=; b=VJuORmy8lfDrwY5RvLt19qWeQgrV7U0QaXeUr9wArz46lAX0xoewSXTcKpq/2udoc04BXy dGa379dqpK9whiAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3870913A61; Thu, 14 Jul 2022 09:03:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id XjcHDdXbz2JmHwAAMHmgww (envelope-from ); Thu, 14 Jul 2022 09:03:17 +0000 Date: Thu, 14 Jul 2022 11:03:16 +0200 Message-ID: <87v8s0vzfv.wl-tiwai@suse.de> From: Takashi Iwai To: Vitaly Rodionov Cc: Jaroslav Kysela , Takashi Iwai , Mark Brown , , , , Stefan Binding Subject: Re: [PATCH v8 01/14] ALSA: hda: hda_cs_dsp_ctl: Add Library to support CS_DSP ALSA controls In-Reply-To: <20220630002335.366545-2-vitalyr@opensource.cirrus.com> References: <20220630002335.366545-1-vitalyr@opensource.cirrus.com> <20220630002335.366545-2-vitalyr@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Jun 2022 02:23:22 +0200, Vitaly Rodionov wrote: > --- a/sound/pci/hda/Kconfig > +++ b/sound/pci/hda/Kconfig > @@ -94,6 +94,10 @@ config SND_HDA_PATCH_LOADER > config SND_HDA_SCODEC_CS35L41 > tristate > > +config SND_HDA_CS_DSP_CONTROLS > + tristate > + depends on CS_DSP > + > config SND_HDA_SCODEC_CS35L41_I2C > tristate "Build CS35L41 HD-audio side codec support for I2C Bus" > depends on I2C This change alone doesn't give anything useful, unfortunately. The above form (without prompt) is basically only to be "selected" by others. And when selected, the "depends" there is just ignored, so it's useless. That is, a proper way would be something like: config SND_HDA_CS_DSP_CONTROLS tristate config SND_HDA_SCODEC_CS35L41 .... select SND_HDA_CS_DSP_CONTROLS if CS_DSP ... if you want / need to enable CONFIG_SND_HDA_CS_DSP_CONTROLS conditionally. thanks, Takashi