Message ID | cafd878747e7951914a7d9fea33788a4a230d1f0.1688643442.git.geert@linux-m68k.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2525276vqx; Thu, 6 Jul 2023 05:33:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlGW+RMHV/yNwls5JzxY39YRZyj6qsRuwzKeVv3Y1W5SrZFOjQopG/Zrj+O4EhqWl5rPEKIe X-Received: by 2002:a17:902:d2c1:b0:1b8:6245:1235 with SMTP id n1-20020a170902d2c100b001b862451235mr7888521plc.13.1688646824040; Thu, 06 Jul 2023 05:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688646824; cv=none; d=google.com; s=arc-20160816; b=huNTJ7sX0OokHo+Tn00oe1ctdTFzQYeuaolSgCzYOvhuE5hW6RpDj3vc5m2SNKUKPX sxizZxy4jHhZxIoyBGvvZ1AQonVSGKE9CZbjzalli/JSgn3AwaeUTFI0wu1BvwjAtSv6 KWVbwU2OrC7Ge3MCX0fkGAabCcLKga176Y0j+o6y8Mq/fQwLl4wg5LoApBfrAdFaNQMI Cp2eWv4xMp0+8zPtdJiGnAXQOqqlxFAJzLNeVDtM3JVJE67lBnYolNpIFOAKJNPOAUmw cgXxNPMlDwCUgK9yK1TVKc/o/zQQC0ytnv/n2ya3zo9yQhO9mV5dqDQb3q8jM6lBMtfs LdUw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9mtVpfK5Tb1s6mFYurgK2QpcjmY8qvxqFtG1cECg/vQ=; fh=gEa+jXONTRUMy72sPLZS/6Tev+RvK53AuTJh7z6JgZA=; b=lPtUWE5DEGk1gEnjKBTQFuytKLi96hB1UN7P+4KP0I3S05rG/FBzl3TEfrAmS8GGr8 EdX5ZFih3wCs6y/ed+2kW1LPUXbPeBypYDrA7c3EcIj1Irp6ZrjCbFUWzm8vTc+OrZeV Ec37389PhlF/1nWlRrtYTBFieDAflK2v2rZJOLeZ/7sUlpcz0BrqQrvF2fCYVYH9hc8t nq9x7wLHYzCtIiyyU1U+78cGtWkfb/MI+xA5cfSwgdKhGcjf7y9fRcjOAEecF7zb9kq3 Wb4a0dxUlVpS7ZRZlcsg9585OLWoaNW5508tivYBV6355irDNyyZOzDKM+V/Rn/BSzfD FaAg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170902bd4b00b001aaea258805si1228847plx.134.2023.07.06.05.33.30; Thu, 06 Jul 2023 05:33:44 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbjGFLmj (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Thu, 6 Jul 2023 07:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232523AbjGFLme (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Jul 2023 07:42:34 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86DF01BFE for <linux-kernel@vger.kernel.org>; Thu, 6 Jul 2023 04:42:11 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5979:7b6f:39a:b9cb]) by laurent.telenet-ops.be with bizsmtp id Hni62A00545Xpxs01ni6hb; Thu, 06 Jul 2023 13:42:08 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qHNN3-000fay-Ik; Thu, 06 Jul 2023 13:42:06 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qHNN7-000QkN-Ut; Thu, 06 Jul 2023 13:42:05 +0200 From: Geert Uytterhoeven <geert@linux-m68k.org> To: Mark Brown <broonie@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J . Wysocki" <rafael@kernel.org>, Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Benjamin Gray <bgray@linux.ibm.com>, Christophe Leroy <christophe.leroy@csgroup.eu> Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH 3/3] ASoC: codecs: SND_SOC_WCD934X should select REGMAP_IRQ Date: Thu, 6 Jul 2023 13:42:04 +0200 Message-Id: <cafd878747e7951914a7d9fea33788a4a230d1f0.1688643442.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1688643442.git.geert@linux-m68k.org> References: <cover.1688643442.git.geert@linux-m68k.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770674385282322162?= X-GMAIL-MSGID: =?utf-8?q?1770674532528151265?= |
Series |
regmap: Fix REGMAP selections
|
|
Commit Message
Geert Uytterhoeven
July 6, 2023, 11:42 a.m. UTC
If CONFIG_SND_SOC_WCD934X=y, CONFIG_COMPILE_TEST=y,
CONFIG_MFD_WCD934X=n, CONFIG_REGMAP_IRQ=n:
aarch64-linux-gnu-ld: sound/soc/codecs/wcd934x.o: in function `wcd934x_codec_probe':
wcd934x.c:(.text+0x33cc): undefined reference to `regmap_irq_get_virq'
aarch64-linux-gnu-ld: sound/soc/codecs/wcd934x.o: in function `wcd934x_comp_probe':
wcd934x.c:(.text+0x4cb0): undefined reference to `regmap_irq_get_virq'
aarch64-linux-gnu-ld: wcd934x.c:(.text+0x4cc0): undefined reference to `regmap_irq_get_virq'
aarch64-linux-gnu-ld: wcd934x.c:(.text+0x4cd0): undefined reference to `regmap_irq_get_virq'
aarch64-linux-gnu-ld: wcd934x.c:(.text+0x4ce0): undefined reference to `regmap_irq_get_virq'
aarch64-linux-gnu-ld: sound/soc/codecs/wcd934x.o:wcd934x.c:(.text+0x4cf0): more undefined references to `regmap_irq_get_virq' follow
Fix this by making SND_SOC_WCD934X select REGMAP_IRQ.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
sound/soc/codecs/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 2a62dbd5339e4a3a..958499050c8b6a3f 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1942,6 +1942,7 @@ config SND_SOC_WCD934X tristate "WCD9340/WCD9341 Codec" depends on COMMON_CLK depends on SLIMBUS + select REGMAP_IRQ select REGMAP_SLIMBUS select SND_SOC_WCD_MBHC depends on MFD_WCD934X || COMPILE_TEST