From nobody Tue Sep 9 16:53:37 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83CFBC64ED6 for ; Mon, 27 Feb 2023 09:08:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjB0JI0 (ORCPT ); Mon, 27 Feb 2023 04:08:26 -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 ); 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 ; 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 ; 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 To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Sven Van Asbroeck Cc: Arnd Bergmann , 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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann Without gpiolib, this driver fails to link: arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `chip_gpio_ge= t': zl38060.c:(.text+0x30): undefined reference to `gpiochip_get_data' arm-linux-gnueabi-ld: sound/soc/codecs/zl38060.o: in function `zl38_spi_pro= be': zl38060.c:(.text+0xa18): undefined reference to `devm_gpiochip_add_data_wit= h_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 someth= ing else. Fixes: 52e8a94baf90 ("ASoC: Add initial ZL38060 driver") Signed-off-by: Arnd Bergmann --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) 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, --=20 2.39.2