From patchwork Tue Oct 19 19:14:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12570987 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A5F8C433EF for ; Tue, 19 Oct 2021 19:16:10 +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 ED6606137D for ; Tue, 19 Oct 2021 19:16:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ED6606137D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=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 108C61696; Tue, 19 Oct 2021 21:15:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 108C61696 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634670964; bh=/znmkFn+1hv2P3Gitl75yKUrCACWkay2CRqRv1A/zkE=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=JhrtTNP7WWqv4yzbvwvtuUBTsKw7OQzxglwe8mQj1rYpYJRyIfA1sfbrbvLGJ6gyW m4YsaTSeV6WoDsFfLgOschUjhmGTTlRVjnxnsfyQUMpgG0WUaqHdWSGMgk5kQINUF3 7XIbA70uyE5elYTOTIXt7JZF6pC+HKC4c9+HDOKc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 938E7F8019B; Tue, 19 Oct 2021 21:15:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6FF0EF80240; Tue, 19 Oct 2021 21:15:10 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DAC25F80082 for ; Tue, 19 Oct 2021 21:15:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DAC25F80082 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ltitQs67" Received: by mail.kernel.org (Postfix) with ESMTPSA id 87EC26136F; Tue, 19 Oct 2021 19:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634670898; bh=/znmkFn+1hv2P3Gitl75yKUrCACWkay2CRqRv1A/zkE=; h=From:To:Cc:Subject:Date:From; b=ltitQs67F5lcd0NsyCr7JXCQz3HfQUheX6dZx0f100TfB6DPwGp9AL+3iEphBNwhJ LsUkWdjdSQBnXCcefttZPEMgi/fnGuOvEpmHMwjLatRX/R8AOpcp4VKjyBlsdMLmIX uhteC0ayykb9Dy6Mv3pain3D7a4BL1z6tJJjblXu8uLgqyXqKBo1lxgh+2DooGGrED sTDBV6jyaWWQIpFK5A0yIfcROO2ug3WSXYhquDcnddVs5VFwjUVrcw6b/ktcOW7dYh bmtkgtFxWTdBvRnk9HeTqNWIqFAqsuvG6c3V47en7TfJJHxQoqdj7udyvkSLWwlFfY ZNEHLnkkiAWfA== From: Arnd Bergmann To: Mark Brown Subject: [PATCH] ASoC: amd: vangogh: add SPI dependency Date: Tue, 19 Oct 2021 21:14:43 +0200 Message-Id: <20211019191453.3047514-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Ajit Kumar Pandey , Arnd Bergmann , Liam Girdwood , linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai , Vijendar Mukunda 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" From: Arnd Bergmann Without CONFIG_SPI, this fails to build: WARNING: unmet direct dependencies detected for SND_SOC_CS35L41_SPI Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SPI_MASTER [=n] Selected by [m]: - SND_SOC_AMD_VANGOGH_MACH [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_SOC_AMD_ACP5x [=m] && I2C [=y] ERROR: modpost: "spi_setup" [sound/soc/codecs/snd-soc-cs35l41-spi.ko] undefined! ERROR: modpost: "__devm_regmap_init_spi" [sound/soc/codecs/snd-soc-cs35l41-spi.ko] undefined! Fixes: 96792fdd77cd ("ASoC: amd: enable vangogh platform machine driver build") Signed-off-by: Arnd Bergmann Reviewed-by: Randy Dunlap --- sound/soc/amd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index d91a9399777c..edee2098c82e 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -68,7 +68,7 @@ config SND_SOC_AMD_VANGOGH_MACH tristate "AMD Vangogh support for NAU8821 CS35L41" select SND_SOC_NAU8821 select SND_SOC_CS35L41_SPI - depends on SND_SOC_AMD_ACP5x && I2C + depends on SND_SOC_AMD_ACP5x && I2C && SPI help This option enables machine driver for Vangogh platform using NAU8821 and CS35L41 codecs.