Skip to contentSkip to conversation

iio: adc: Kconfig: add kfifo dependency to fix module build

PATCH In review [email protected] 2 participants 3 messages Apr 30, 2025 – May 7, 2025 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: Kconfig: add kfifo dependency to fix module build

From: Arthur-Prince <[email protected]>

Add dependency to Kconfig’s ti-ads1298 because compiling it as a module failed with an undefined kfifo symbol.

Fixes 00ef7708fa6 ("iio: adc: ti-ads1298: Add driver")
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 849c90203071..513f2238fdee 100644
@@ -1492,6 +1492,7 @@ config TI_ADS1298
 	tristate "Texas Instruments ADS1298"
 	depends on SPI
 	select IIO_BUFFER
+	select IIO_KFIFO_BUF
 	help
 	  If you say yes here you get support for Texas Instruments ADS1298
 	  medical ADC chips
Signature · 1 line
2.45.2
maintainer
#1 lore raw
Quoted 9 lines · On Wed, 30 Apr 2025 16:07:37 -0300 [email protected] wrote:

From: Arthur-Prince <[email protected]>

Add dependency to Kconfig’s ti-ads1298 because compiling it as a module failed with an undefined kfifo symbol.

Fixes 00ef7708fa6 ("iio: adc: ti-ads1298: Add driver")

Applied and marked for stable

Quoted 16 lines
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 849c90203071..513f2238fdee 100644
@@ -1492,6 +1492,7 @@ config TI_ADS1298
 	tristate "Texas Instruments ADS1298"
 	depends on SPI
 	select IIO_BUFFER
+	select IIO_KFIFO_BUF
 	help
 	  If you say yes here you get support for Texas Instruments ADS1298
 	  medical ADC chips
maintainer
#2 lore raw
Quoted 5 lines · On Sun, 4 May 2025 17:46:43 +0100 Jonathan Cameron <[email protected]> wrote:
Quoted 2 lines · On Wed, 30 Apr 2025 16:07:37 -0300 [email protected] wrote:

From: Arthur-Prince <[email protected]>

Quoted 8 lines
Quoted 7 lines

Add dependency to Kconfig’s ti-ads1298 because compiling it as a module failed with an undefined kfifo symbol.

Fixes 00ef7708fa6 ("iio: adc: ti-ads1298: Add driver")

Applied and marked for stable

So we had a clash between this which was in the fixes-togreg branch with a tidy up of ordering that was in the togreg branch.

Given this wasn't a new bug, I've shifted this to the togreg branch so I could resolve this without much mess (the ordering patch was way down my togreg branch whereas this was near the top of the fixes one)

Slight delay in this fix getting upstream as a result.

Jonathan

Quoted 19 lines
Quoted 17 lines
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 849c90203071..513f2238fdee 100644
@@ -1492,6 +1492,7 @@ config TI_ADS1298
 	tristate "Texas Instruments ADS1298"
 	depends on SPI
 	select IIO_BUFFER
+	select IIO_KFIFO_BUF
 	help
 	  If you say yes here you get support for Texas Instruments ADS1298
 	  medical ADC chips