From patchwork Fri Jun 2 12:44:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102535 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1004286vqr; Fri, 2 Jun 2023 05:54:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WQuTZbNIWruuK0/kjKKwPiWzXHVs2vITFvwegLbSwmtRLUPsqsFjHUJns4NQEUxjzh4hC X-Received: by 2002:a05:6a20:8e14:b0:103:b0f9:7110 with SMTP id y20-20020a056a208e1400b00103b0f97110mr9932420pzj.11.1685710462875; Fri, 02 Jun 2023 05:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685710462; cv=none; d=google.com; s=arc-20160816; b=Se9Bt++aF3fnvGciheDLD8f64zmR0y6/J021QtFl2yRmPbx5h4LcazOtHskwxFj5iG VrUO+ctIdZEgXJV7jzGLl8pVVEHtVPSxk5yx+9xaKUBeGHcCsDSlZoL7ajtLtD8O4j4H 7/Dxwz2SOoY/ksEWSU16kMg6LLrMoKyhvv9+6/Wn3vMgzfhdWgWEp4960w5nhOW6LksI Lfd7LDK1MxVbIH6k7TKGHt8IIfGby9kRnmyJz/Av67UWsdDoD03mh6pgP0WaamGpoTzO kDhlUtW1ah6iEl3byd4oIrDaFZ6mRnP7G3PvQFccmluCWQVa0BeddcoBp7khh2977Mwp 0tUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oIQoRCaukID+EW/Z2Z1GszzQ8gaW1yWPNLOMpu4k0fM=; b=kETZ4u1j9lY48vBBm4cRYFfmbW4c+UYMx4TLqcVMPLCC2ZcMyPeXrWN6h3bOqqJjsb LFsHXwWPDbPqB+HEUElQV1oaQJfcshKK7Opv2K+lzeQ5nPgKJSnoTOWbXeK+PcOtZxCW m1E8seNAmj5X9HgePRwOUztNDoTIaVLomhDMl1mlizojJ9d+MrinwPd4642qAZG9OTF/ Izh7H6fNc05Y0m72jNc4ruErE2PRSIvcj/2j8KzVWcx2YrytWYtRcGhWeI9aYqFZXwow gQ80ZihrX2Htw2GCirCz+qyuyZpP2Ip8RC5MRVqT4EtwBNFFExXftpAjlpfk05QHIlwW wkjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=btkguOVO; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020aa78f27000000b0064f33d8954csi717686pfr.203.2023.06.02.05.54.08; Fri, 02 Jun 2023 05:54:22 -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=@kernel.org header.s=k20201202 header.b=btkguOVO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235202AbjFBMo6 (ORCPT + 99 others); Fri, 2 Jun 2023 08:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235838AbjFBMo4 (ORCPT ); Fri, 2 Jun 2023 08:44:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D3F13D for ; Fri, 2 Jun 2023 05:44:55 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id F12086500B for ; Fri, 2 Jun 2023 12:44:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9B06C433EF; Fri, 2 Jun 2023 12:44:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685709894; bh=McQIwyw8ISVxlP2qAhRRv+FXFr6OUy8H+OaWYCPsDmw=; h=From:To:Cc:Subject:Date:From; b=btkguOVOSVVPudv8jF3nxyiecgErSnv3Ek3cBd2OZRehnzwYHjkFDCnTr+w8sGyCz H1xkmzQyBLIRldZ6KpcqCmPfjJflOMM8irt6dCHLu4fdPczqi0g7XoJOPk7ovRKMm/ ksEyW5zQbizKPTy29woFmDgYx8DAkhh6z+Nywo/ifUCv+0ljwKgtSWvUlUTGV+CqBL GgEie5i2XMC4/CdwQK0Xa2OzPh4f+CvSqqPExN7o4+XHE3g7CaNOQILkVpeR8RJiNf lo57kd/rOPMs2OWB69nx3oXT9PhX+mrLOgSkazGl8gwO9k+YsbEhIsaOGjaM+UnwVA oqmVgrtx6hjLg== From: Arnd Bergmann To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Venkata Prasad Potturu Cc: Arnd Bergmann , Vijendar Mukunda , Syed Saba Kareem , Randy Dunlap , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG Date: Fri, 2 Jun 2023 14:44:39 +0200 Message-Id: <20230602124447.863476-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767595534348468230?= X-GMAIL-MSGID: =?utf-8?q?1767595534348468230?= From: Arnd Bergmann The vangogh driver just gained a link time dependency that now causes randconfig builds to fail: x86_64-linux-ld: sound/soc/amd/vangogh/pci-acp5x.o: in function `snd_acp5x_probe': pci-acp5x.c:(.text+0xbb): undefined reference to `snd_amd_acp_find_config' Fixes: e89f45edb747e ("ASoC: amd: vangogh: Add check for acp config flags in vangogh platform") Signed-off-by: Arnd Bergmann --- sound/soc/amd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 08e42082f5e96..e724cb3c70b74 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -81,6 +81,7 @@ config SND_SOC_AMD_VANGOGH_MACH tristate "AMD Vangogh support for NAU8821 CS35L41" select SND_SOC_NAU8821 select SND_SOC_CS35L41_SPI + select SND_AMD_ACP_CONFIG depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER help This option enables machine driver for Vangogh platform