Skip to content

Commit 479d987

Browse files
javiercarrascocruzgregkh
authored andcommitted
iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
commit f4dc96f upstream. This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: d1efcf8 ("iio: adc: ad7944: add driver for AD7944/AD7985/AD7986") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20241003-iio-select-v1-2-67c0385197cd@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 74d6409 commit 479d987

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/iio/adc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ config AD7923
307307
config AD7944
308308
tristate "Analog Devices AD7944 and similar ADCs driver"
309309
depends on SPI
310+
select IIO_BUFFER
311+
select IIO_TRIGGERED_BUFFER
310312
help
311313
Say yes here to build support for Analog Devices
312314
AD7944, AD7985, AD7986 ADCs.

0 commit comments

Comments
 (0)