From patchwork Mon Jun 5 08:58:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 103189 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2545745vqr; Mon, 5 Jun 2023 02:06:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Mph56TW+/VRZLjXyACp+6xcSG280Uiam04GKt0bby6vZ2yq6TTbee1t9vUm4K7z6MO/MN X-Received: by 2002:a05:6a20:230c:b0:110:9210:f6ac with SMTP id n12-20020a056a20230c00b001109210f6acmr1594971pzc.37.1685955986256; Mon, 05 Jun 2023 02:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685955986; cv=none; d=google.com; s=arc-20160816; b=JI+OYLNkFStgn/VSzfnuve/b8f33urEboph8IuvFLgqN6wwUbVZtCxKuzShjxoQejr Gl4i+W0GrWpLtAZIHuBo72ZdDFP37gQqoy/dkNKdLF4/CGz7BxWgPwBK4OaT26ZbDz7g fUc2wFlkFoB+iwsgmeM2v2ILKhgx0hIKSDdJg85AW4xFsQ0E5BaES/ojGW91E/RFe04l 2LUQCN6HDMJZVKvzrvORe77JltA09VCCnwUxxI2nOahdF83OoYc8FHyBPCnT3lbDiGss 4ccRjOK8WPKn5Ghy8h2D8x/qqdUBdqn4TcyLA/ZPufuzkl3tuqF3kCpsyYnQo96UjJEj OtXg== 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=yugq8VKZOEY6FnBdYY8mPJxne07N+hwvp4/Up/VWYa0=; b=wuvU1SfYN6WNmXRdadXhJgyvmwyrkFP4bwbQ/UQTDBzbx9CmBeVPfEZqPTrcY4T5Fj V9u6GrpgNxzgVxlct5heMdOvmHru4DprMlsgx4xzP5AyXC70RRmPnzgBFrc9Gku/OiML vK8jUbi9FwEUmKGfSagCdzNMBwF+c2Hu7n+dWg2KkFVq4SF9vPKGTZUHS1l1kQLfHzrd SiOzMUjy5h0G6ZD2Xa1/n69d3NAXmxnDOmw7G3YJLxcj/JyED9IqHK4hR+wH0C2VZtqM QGjW2g0xybnoltPN3KPdAr2fMfJZLWRxPV4fgMmG+5iA0RncWBUlozUY4VoDQvMEOgOT LoxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rk4OFN4e; 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 y12-20020a17090322cc00b001b03d54354dsi5382670plg.189.2023.06.05.02.06.13; Mon, 05 Jun 2023 02:06:26 -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=Rk4OFN4e; 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 S229861AbjFEI6u (ORCPT + 99 others); Mon, 5 Jun 2023 04:58:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjFEI6s (ORCPT ); Mon, 5 Jun 2023 04:58:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B771583 for ; Mon, 5 Jun 2023 01:58:47 -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 52F3E61354 for ; Mon, 5 Jun 2023 08:58:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A715C433EF; Mon, 5 Jun 2023 08:58:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685955526; bh=bet3Rij8GrGk8PCMTrChExTjViLqa8FMBXDGdTe4cGE=; h=From:To:Cc:Subject:Date:From; b=Rk4OFN4ecvfEeSlgc06OshwB29bpXB7fJ+DBeGVuEBL5L1jtNCzJL0SF0gl/G3Ccn Mx0bUz5wwZmHPHCnVCo/wJcPRCy4B5m3s7IHm3K/GR7U9/NBnDlqxQlg/TDrW/YWeL /ERoZT3OBaUPjipvw8HbbXD1CWYI5zSJ/CK8v9TJzSsNf7SMG009VcyKm5AgCac/W6 t8wI2cFadGynLgaBLlc14KwODdA7MyMfAtond+RoxivabJAyu6oDo0vvTyrtvuDg0X y54vt2TZCATRc8m28++wpJebgxIySopdf1krl5Htv3UN0Q2CBCa+i5194NUC+B+Auo jU8eMrD9RRG0g== 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] [v2] ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG Date: Mon, 5 Jun 2023 10:58:29 +0200 Message-Id: <20230605085839.2157268-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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?1767852984044488159?= X-GMAIL-MSGID: =?utf-8?q?1767852984044488159?= 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 --- v2: select CONFIG_SND_AMD_ACP_CONFIG from all ACP5, not just VANGOGH_MACH. --- sound/soc/amd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 08e42082f5e96..713348508001a 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -71,6 +71,7 @@ config SND_SOC_AMD_RENOIR_MACH config SND_SOC_AMD_ACP5x tristate "AMD Audio Coprocessor-v5.x I2S support" depends on X86 && PCI + select SND_AMD_ACP_CONFIG help This option enables ACP v5.x support on AMD platform