Message ID | 20230227085850.2503725-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2312226wrd; Mon, 27 Feb 2023 01:09:06 -0800 (PST) X-Google-Smtp-Source: AK7set+JWuOu/e0Gw5M4cD80Io+vSbRJLEEsKGWK+FsSkNK3j/tIK5/4By2i7wYghEnZ8P2qJimK X-Received: by 2002:a17:902:6b01:b0:19c:f849:80a1 with SMTP id o1-20020a1709026b0100b0019cf84980a1mr5517952plk.27.1677488946252; Mon, 27 Feb 2023 01:09:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677488946; cv=none; d=google.com; s=arc-20160816; b=zkconjl9DwH5hjEA7ylYFBcXN7nKl9i/VtqpjsMeamRJkNNhW2BfrpH9832vXmDOnA j8RlKED/asX0Ayw7Fto753soRQ/UsjCyFc1iWLs2yNPLwmRGUrrl2FJsD11je8lYRCZB hTrax7P+zJW4MKDD12YmCN+NbA9NbdwVvIFkqqycASKNMxmxbt8HxHdCaDNZjaAY8t9X 4iWQqmPf+LYLSDodWxqwjv3/Ah6WrtY5VqlXToIERlCqZ7mATai/LVj0CPtFhNhbonb4 ghH2E+gMThbs2K48dqVAAqStHjTCta5MP3vASMHSJxdu45mxRawjO3YQE/W1o7QFuu/2 HhDA== 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=E1MbDhDN2ePaiWS1holC/8U9aNQcb9IBFI1FJ6x8GhY=; b=JSoAElFXHStm/izK+1a8PESGCzE1V+2RvThwhR2FhxhNP3JAkuQRzUlYK+MQDqo2GX IluSyjFZOu8o+emyiyVQUIHNKCvkGqHieL3EtHrtkUhU7r/E+pZKNbquGBn7e7SwrPTm eo4EPHti9iSQX5wAA2GStqW4TTy2Q25KAEX6I8fFjeysPZpVZxYh02I+n++aUB4Wsl9g hSxUGL8IeIalEmtcullmXx7vzP3PjB3QYXMYJZMlYXQzVTRRpoDXyREP5vR7FFc0noEg qo7EvKvkzS37l93BLAE9IlvtxT297YlfY02NIvMWWqyTEMdG6aG+dl2O5BNlSV9Q1Sie wW6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r8bma6NO; 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 kq4-20020a170903284400b0018862b7f8bbsi6390066plb.198.2023.02.27.01.08.54; Mon, 27 Feb 2023 01:09:06 -0800 (PST) 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=r8bma6NO; 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 S229935AbjB0JIZ (ORCPT <rfc822;sukrut.bellary@gmail.com> + 99 others); Mon, 27 Feb 2023 04:08:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbjB0JIN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Feb 2023 04:08:13 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8207D2DE47 for <linux-kernel@vger.kernel.org>; Mon, 27 Feb 2023 00:59:28 -0800 (PST) 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 8476360C7C for <linux-kernel@vger.kernel.org>; Mon, 27 Feb 2023 08:58:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B0FAC433EF; Mon, 27 Feb 2023 08:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677488336; bh=C1E2gKQQ6zAKsQYIT+4AqLKUHJ/N8g0P98PgENo6NUw=; h=From:To:Cc:Subject:Date:From; b=r8bma6NOlrhYSSk7Z8pXKRUqvjv03el/pcVZTZbvecpqM/ufpW2NPA014A3OAzL/e L1+qoW45crCtV/DJIZ9WCQ44sP6F46m3O8xmzOqvJTuFTnbi4WnhUgUKVr9Xaevq7g P6JKD13sx9jAOUeLoI9ZmFbpFZhADh8cHyplXO6Y4Up8ktW7QxhVrCfFMAoNFpzhT0 T0EzaaBQ5sIWEZrHvFMyjpMY/6FBvA1SnXkjn00tKFUMw1cS7623C+1HC1R/suBlPy g0cGACzj6G/0EnNWNxU60JDhAZK6oMqlBvwtVFPORxbhwMOewuZ9bAqYtrpZDPi4FT RQcRxdpJGcMkg== From: Arnd Bergmann <arnd@kernel.org> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Sven Van Asbroeck <thesven73@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: zl38060 add gpiolib dependency Date: Mon, 27 Feb 2023 09:58:26 +0100 Message-Id: <20230227085850.2503725-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 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 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?1758974649291401543?= X-GMAIL-MSGID: =?utf-8?q?1758974649291401543?= |
Series |
ASoC: zl38060 add gpiolib dependency
|
|
Commit Message
Arnd Bergmann
Feb. 27, 2023, 8:58 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de> Without gpiolib, this driver fails to link: arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `chip_gpio_get': zl38060.c:(.text+0x30): undefined reference to `gpiochip_get_data' arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `zl38_spi_probe': zl38060.c:(.text+0xa18): undefined reference to `devm_gpiochip_add_data_with_key' This appears to have been in the driver since the start, but is hard to hit in randconfig testing since gpiolib is almost always selected by something else. Fixes: 52e8a94baf90 ("ASoC: Add initial ZL38060 driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+)
Comments
On Mon, 27 Feb 2023 09:58:26 +0100, Arnd Bergmann wrote: > Without gpiolib, this driver fails to link: > > arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `chip_gpio_get': > zl38060.c:(.text+0x30): undefined reference to `gpiochip_get_data' > arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `zl38_spi_probe': > zl38060.c:(.text+0xa18): undefined reference to `devm_gpiochip_add_data_with_key' > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: zl38060 add gpiolib dependency commit: 0de2cc3707b6b6e2ad40bd24ce09a5c1f65d01e1 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index bd72c426a93d..07747565c3b5 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -2103,6 +2103,7 @@ config SND_SOC_WSA883X config SND_SOC_ZL38060 tristate "Microsemi ZL38060 Connected Home Audio Processor" depends on SPI_MASTER + depends on GPIOLIB select REGMAP help Support for ZL38060 Connected Home Audio Processor from Microsemi,