From patchwork Mon Feb 22 21:44:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Braha X-Patchwork-Id: 12103987 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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 78DE5C433DB for ; Thu, 25 Feb 2021 11:30:19 +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 AEAC264ECF for ; Thu, 25 Feb 2021 11:30:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AEAC264ECF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 18B03168D; Thu, 25 Feb 2021 12:29:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 18B03168D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1614252617; bh=jN8o3bmCJQh9UFyhuwAvEeC4yj4cxiRvskBBuHglTQ0=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=gP9564UiVsWRpOjlbrMrw5QyVjgHHcv0WSZPO5SB6U1ysc5bdtL2a5inDcNI3Cgj9 LbzmT6YjxlsXhui3mQJZTbX/3ONgWVJKqPFz12j9kPwRgV27oYhg1M4l5snS2NQ+GT wbUD0h7nhk09DfLrBL2f/8gx8X5gtYiHiOMebNc0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 21228F804B1; Thu, 25 Feb 2021 12:25:56 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D8642F8016C; Mon, 22 Feb 2021 22:44:59 +0100 (CET) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 643E1F800CE for ; Mon, 22 Feb 2021 22:44:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 643E1F800CE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D/+0Js26" Received: by mail-qk1-x729.google.com with SMTP id 204so9314590qke.11 for ; Mon, 22 Feb 2021 13:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1dNKSWdiyZdcySCS8Mo5qwTMLCVeoueOOG2rvs262jo=; b=D/+0Js26+HlfFQqMWd4QnMQ98GQQuoxrWwxYY4jKjloItBDrEbKRDIRnoTvrj2jsLZ +VoTol7Zos8swZE8ooW4d1tt0+p1lR5qQIoUcSHDclxVP74QbKjUCb5LhB1psGs5W7jm CMDz31J8BQZDT7LiXnP7QISkZdobC/4AgRZojU1mUaGhYCmUrUuUZPdWB7o28JPxfR7c qCdWM7U0A+eu5D62AdYAoOvpAHKn/AtdToFOTQuVexockM6ZbpwWZhx5tz7KHlpP9l6G tPFToFt0L1pEZKyMqOCcTugeGGxw1TAomprjAeH/dPHmFXZpbV3qW+kCNEah/QMt8RXn u4EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=1dNKSWdiyZdcySCS8Mo5qwTMLCVeoueOOG2rvs262jo=; b=i5RtGuufT9vT52q575YW5J+lnuBoB/QCr7MBEAyaPbgGPzGZJVjQmyYGMiIuTK2jck SqIpCId8uT1XtbAkT3ukFWhId0wrEgS/Lp19je6cH7+m3pLhmZ/l4Cr1BjtNHvg9uvJG 2ODlgyvSuqe7ZRSUVUeeFEu71YNUpT3NWu8l4jY+yLQtYlMwDcXbJf8zJLU/HBj71Rod HfPzToZvI4jZaxIIZMwkbOM0xQp7vDLsxLYT5BwDSYlavjz+G9uGakH/AuvkpCoSA5MO GWM0MWpz33KF/KDb9/IX5HZtnRo6CKuilbDo3ZxiMP2QaklSmAWVtKEgTcugJiYzy1iu aMAQ== X-Gm-Message-State: AOAM5324jxd9YtZgNsLKJWKK1qtm+akWOMtgaDZtdwJWyuNLoNxMznfH DT1LR42/tpB0e+e5U64tvuU= X-Google-Smtp-Source: ABdhPJwFSCSJLOSqsPqKt3URkuoEibnPZ79qNnVRlvLNBOgSLG7t2y7e0ZwQSSypqQB5QOdocrILKA== X-Received: by 2002:a05:620a:22a3:: with SMTP id p3mr22841037qkh.13.1614030294650; Mon, 22 Feb 2021 13:44:54 -0800 (PST) Received: from localhost.localdomain ([208.64.158.253]) by smtp.gmail.com with ESMTPSA id j5sm11595009qth.80.2021.02.22.13.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 13:44:54 -0800 (PST) From: Julian Braha To: perex@perex.cz Subject: [PATCH] sound: soc: codecs: fix kconfig dependency on GPIOLIB Date: Mon, 22 Feb 2021 16:44:44 -0500 Message-Id: <20210222214444.23340-1-julianbraha@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 25 Feb 2021 12:25:30 +0100 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org 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" When SND_SOC_DMIC is enabled and GPIOLIB is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for SND_SOC_DMIC Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n] Selected by [y]: - SND_SOC_AMD_RENOIR_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_AMD_RENOIR [=y] This is because SND_SOC_AMD_RENOIR_MACH selects SND_SOC_DMIC, without depending on or selecting GPIOLIB, despite that config option depending on GPIOLIB. Signed-off-by: Julian Braha --- sound/soc/amd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index a6ce000fac3f..5480dff7a1ad 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -46,6 +46,7 @@ config SND_SOC_AMD_RENOIR config SND_SOC_AMD_RENOIR_MACH tristate "AMD Renoir support for DMIC" + select GPIOLIB select SND_SOC_DMIC depends on SND_SOC_AMD_RENOIR help