Commit 2caa67b6 authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig

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: 128b9389 ("staging: iio: resolver: ad2s1210: add triggered buffer support")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: default avatarDavid Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-2-4019453f8c33@gmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 17a99360
...@@ -32,6 +32,8 @@ config AD2S1210 ...@@ -32,6 +32,8 @@ config AD2S1210
depends on COMMON_CLK depends on COMMON_CLK
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
select REGMAP select REGMAP
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Say yes here to build support for Analog Devices spi resolver Say yes here to build support for Analog Devices spi resolver
to digital converters, ad2s1210, provides direct access via sysfs. to digital converters, ad2s1210, provides direct access via sysfs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment