Skip to content

Commit 0de2cc3

Browse files
arndbbroonie
authored andcommitted
ASoC: zl38060 add gpiolib dependency
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: 52e8a94 ("ASoC: Add initial ZL38060 driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20230227085850.2503725-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c769fb6 commit 0de2cc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/codecs/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,6 +2103,7 @@ config SND_SOC_WSA883X
21032103
config SND_SOC_ZL38060
21042104
tristate "Microsemi ZL38060 Connected Home Audio Processor"
21052105
depends on SPI_MASTER
2106+
depends on GPIOLIB
21062107
select REGMAP
21072108
help
21082109
Support for ZL38060 Connected Home Audio Processor from Microsemi,

0 commit comments

Comments
 (0)