Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp183721pxb; Thu, 20 Jan 2022 11:14:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUFgb+2C2jTFwM99BED8WZ64L9EQgkbGN9wDOQmntqtgYxow5v8fVbsRgm9diB8gp2CXbm X-Received: by 2002:a17:90b:3e84:: with SMTP id rj4mr461978pjb.195.1642706077367; Thu, 20 Jan 2022 11:14:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642706077; cv=none; d=google.com; s=arc-20160816; b=rfCQZ6IUNXv84HYOo6Cy52Qj4zheAghy7ANL1t3oGVqmfI9NdViKkuBAbNBA/hRbCr WMYxmeMjVF46WsHq7nykOuauIreOIOOgUebyo9OyoEjUOLeMjwyJrnCxvLsduqKIRxta qv1A9k6WY+sWb6pdijbkCbESOi/IHuWAiHy4OzK4AzhMbcP27XvLsspV3QI8RuQ/i0NG 3Vc4EmOgObTMfn87jzckKMlRfBnIlNiZhHk5pygLzSBdpHFzTcqrgRuSjrSeZdzdJs7W 6gINHbnR4cc5MzES2MxJ6wA1MRfhQ0Ux8FwGbLX6+KhSRbgnVKNzKmgWMc3uHK2gDVvx jm1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TX8ZLmIzOa71wT07Kdx+AJYnOWLXoNlwTIzT4tACX88=; b=fW5ppBWIlHekFzeqg7l9xPitIluHDNBoxcqwOeGKUzckYrSwESwhibZ+QjxJ2+t9fw ZNajlJg0esfq2mHtG+K2mZ8iey1dEDBvdVBrqFvBq8GPpi3AMi76Sktjw7EUY4yp4xDC sb9okDllrMNpGC0UF6/dRHCGCV2R5WWPqbikdY6IIn3bSgRvXYax81ZiPfLkzaIMLedt MTm55t3EM//dJ+SXBMKzatlmIXUEIOiBxHuAwzsLw4OFaX4mMTok5qBNDJpmG4Wxvqox d2+CemC1fBEFEN0MnkbomJskPYRl4oryvLxdBzvvRcEP4ro6VIrtow3tabWI2JNMLmaJ UQzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bZSz15dq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si1843799pls.123.2022.01.20.11.13.43; Thu, 20 Jan 2022 11:14:37 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bZSz15dq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244495AbiARRLG (ORCPT + 99 others); Tue, 18 Jan 2022 12:11:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiARRLE (ORCPT ); Tue, 18 Jan 2022 12:11:04 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D80C061574 for ; Tue, 18 Jan 2022 09:11:03 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 20B31B81238 for ; Tue, 18 Jan 2022 17:11:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C70FC340E0; Tue, 18 Jan 2022 17:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642525860; bh=9Oiq6z0NhX/tzLVnd+VfU3zd3DlXHBDOmoHeXqvmIik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bZSz15dqy7JLztDN0MIhWS0xoD/DVspHNJtE5Ot0Gf0c8sI9DkdUNhWxSgKcfDdmn mi34k1CvopHdAisO9jdc1O495rvsnJn5vFg/Bg6Gi6j2LOH+15p2rjCWiz8l6tY/TJ nK73s1klZDmx9/oQOpCm7GCbWOVNs3OOAxtKk1eOgiJlmS6rdvAqXNgCfzRfdBHS+N 3eTRk91Yhjs1GvNWbN5xA7o0DQAnuUQ5TjHVXzXPKUX4Pp8XeYJK3vWzOkdGMh85bK zsqb0Dqk0KRemFCEmQBJGdAtwdUcYmLdgEEeaZAZbpmxJdGRxxaT+XxDzuTxfh/94Y 2/HNi66h9sN0Q== Date: Tue, 18 Jan 2022 17:10:55 +0000 From: Mark Brown To: Julian Braha Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, Vijendar.Mukunda@amd.com, AjitKumar.Pandey@amd.com, pierre-louis.bossart@linux.intel.com, kai.vehmanen@linux.intel.com, tanureal@opensource.cirrus.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, fazilyildiran@gmail.com Subject: Re: [PATCH] ASoC: amd: fix unmet dependency on GPIOLIB for SND_SOC_DMIC Message-ID: References: <20220117041528.59958-1-julianbraha@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CS/byuj3seJkHJeR" Content-Disposition: inline In-Reply-To: <20220117041528.59958-1-julianbraha@gmail.com> X-Cookie: Do YOU have redeeming social value? Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --CS/byuj3seJkHJeR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 16, 2022 at 11:15:28PM -0500, Julian Braha wrote: > When SND_SOC_AMD_YC_MACH is selected, > and GPIOLIB is not selected, > Kbuild gives the following warning: >=20 > WARNING: unmet direct dependencies detected for SND_SOC_DMIC > Depends on [n]: SOUND [=3Dy] && !UML && SND [=3Dy] && SND_SOC [=3Dy] &&= GPIOLIB [=3Dn] > Selected by [y]: > - SND_SOC_AMD_YC_MACH [=3Dy] && SOUND [=3Dy] && !UML && SND [=3Dy] && S= ND_SOC [=3Dy] && SND_SOC_AMD_ACP6x [=3Dy] Why is this a good fix and not removing the dependency on gpiolib from DMIC? While a DMIC *can* use a GPIO it's not something that's an intrinsic requirement and it's entirely optional in the code. --CS/byuj3seJkHJeR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmHm9J4ACgkQJNaLcl1U h9BKuwf/Z8fB1aPDyhYaL2XXxpKPsXuHvvGt5D8UkgJbTPWxZ7fSxW/y7c1N06wl kxUICkVKHTKHyml19J8jfBoMIiGtOsRj4FupD0ofYuyrBGt6kdMaVg+XVmkwtaDz MgivjuU+iWO3sX0N490JUfsKlAoZv2RpkrlkD7hHmYIl/ks1a2D695ZJ2vs3unJG nR8s5zDbf6Zjn6PedxL4uQ7XySc3WJvpcW8Y53ixZLsOiZc4gmA7LBKOXIaWyz4m bKq9QzokLmwVkB6o7KCVmRj2W9/s0m1X+LMmaAUhgdtBKjX6fyy6TvcFX02RoUUi LGU7wQKllI2X4535+htPG0KYmDChAg== =gjhz -----END PGP SIGNATURE----- --CS/byuj3seJkHJeR--