Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp346523imw; Thu, 14 Jul 2022 02:23:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sMg+Ci8GtjmTPlOXZn+y9BbBQGnXwdFvsKQ2wt08hWr/5WjUWdeFcQKv/dB9pqGNr6mwR5 X-Received: by 2002:a05:6402:2689:b0:43a:dc35:11bb with SMTP id w9-20020a056402268900b0043adc3511bbmr11430777edd.262.1657790627310; Thu, 14 Jul 2022 02:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657790627; cv=none; d=google.com; s=arc-20160816; b=ZccIwcGgwbZAqghIeE+cL2EohKO7Y+RWoN2y7/zqZ75i5hAMilQKuUVIKEvEBa6ILn 0orW2UpFIJzaoRG8/x3MBkhSuxZtkXRIV5F2P3iYibSnkc1dTKxW3QTY1FK8OI3xPosK nLmFvcOOoE8s5QkwuYkEzyMzo0thkCun+iuDUxwQXAkaApY3hwHFsS64u3Zlk+b496CL QEx4CTzgPEm6WlwmNZ6oWSGzIkYvEqm41nmts3w/C3C7QdPFxKkLvbCVMYvPiSm6sVDv WoMsTP8tlPkAk/UJ74SSYYzxKkp+uIDC8rnckp8nepwNg0JeSEGRVVpADLhnGDfYUECU 5z0A== 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=fY5PuKc7+fso/B1Mtp/dKY37K4gSKnVfZnobpSyBJ80=; b=MmdWU4NouxAylTDCWw89pzMXz1CvEFZX4NeNgckWC4FoG7vnqWygTOAbhMkYzi/8cM LSjX0NDbIX/5lGzNpdO5QU+QpJyZtfg03UZj5P38WkxJZMs5PNzG8pwkBhq9p0p8HvHc 4BfIzVcaOqyX5G9S4vws7kRUxz8Q6UGguriSvSH5zOqAA8j2idT9kb5+uND8HzSXpo4m 5F+aDTe/vT81yJhnp8KuH5cYZMMv3ycKgHWbbqEyYlp/9hCLGr7cplz0ushZgBy7vrOn zVPF3UlFYUMZ6o/gPuY6pXEJeNL/uRPIM3+asjQQiFoMR0m3PM9P+SKx+7oZZXOWYVnc ZEMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=bXsocT88; dkim=neutral (no key) header.i=@suse.de header.b=JD5lAmDy; 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 hb41-20020a170907162900b007269e67e7ffsi1665035ejc.544.2022.07.14.02.23.21; Thu, 14 Jul 2022 02:23:47 -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=bXsocT88; dkim=neutral (no key) header.i=@suse.de header.b=JD5lAmDy; 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 S232274AbiGNJGU (ORCPT + 99 others); Thu, 14 Jul 2022 05:06:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiGNJGT (ORCPT ); Thu, 14 Jul 2022 05:06:19 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18F3910FEE for ; Thu, 14 Jul 2022 02:06: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-out1.suse.de (Postfix) with ESMTPS id B491B34B36; Thu, 14 Jul 2022 09:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657789576; 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=fY5PuKc7+fso/B1Mtp/dKY37K4gSKnVfZnobpSyBJ80=; b=bXsocT88pxEdhutkWsCRZpCrq2B90GCKFx/fyCvxgZKwPwEWFM6uDw2sx+9JAcnixmlJt7 70iO9xwaxNnSMfBilqhiSe/ZFGs0F0USURDQkHYbXdK4PFv1NEnz7LnyHV6sJSwYaEAgaG /TpoG/A3N1qplFSeGPgKo/4JFe9bLjE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657789576; 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=fY5PuKc7+fso/B1Mtp/dKY37K4gSKnVfZnobpSyBJ80=; b=JD5lAmDyQpB7F0iFuhcuMvehrJhxHFBOIQg8prV79eG4N7BlYc9BQ3tMyasMcSLcWBdRGb zy6mlIK8X5fNe5Aw== 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 8341B13A61; Thu, 14 Jul 2022 09:06:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id V2lVH4jcz2LSIAAAMHmgww (envelope-from ); Thu, 14 Jul 2022 09:06:16 +0000 Date: Thu, 14 Jul 2022 11:06:16 +0200 Message-ID: <87tu7kvzav.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: <87v8s0vzfv.wl-tiwai@suse.de> References: <20220630002335.366545-1-vitalyr@opensource.cirrus.com> <20220630002335.366545-2-vitalyr@opensource.cirrus.com> <87v8s0vzfv.wl-tiwai@suse.de> 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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, 14 Jul 2022 11:03:16 +0200, Takashi Iwai wrote: > > 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. And now I see that the patch 4 has those selects (but select both SND_HDA_CS_DSP_CONTROLS and CS_DSP). So what we need here is to drop the superfluous "depends on CS_DSP" and mention in the description that the Kconfig will be actually enabled in the later patch. thanks, Takashi