[PATCH 2/8] iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig

Javier Carrasco posted 8 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH 2/8] iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
Posted by Javier Carrasco 1 month, 3 weeks ago
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: 128b9389db0e ("staging: iio: resolver: ad2s1210: add triggered buffer support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/resolver/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/iio/resolver/Kconfig b/drivers/iio/resolver/Kconfig
index 640aef3e5c94..de2dee3832a1 100644
--- a/drivers/iio/resolver/Kconfig
+++ b/drivers/iio/resolver/Kconfig
@@ -32,6 +32,8 @@ config AD2S1210
 	depends on COMMON_CLK
 	depends on GPIOLIB || COMPILE_TEST
 	select REGMAP
+	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	help
 	  Say yes here to build support for Analog Devices spi resolver
 	  to digital converters, ad2s1210, provides direct access via sysfs.

-- 
2.43.0
Re: [PATCH 2/8] iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
Posted by David Lechner 1 month, 3 weeks ago
On 10/3/24 11:49 AM, Javier Carrasco wrote:
> 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: 128b9389db0e ("staging: iio: resolver: ad2s1210: add triggered buffer support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---

Reviewed-by: David Lechner <dlechner@baylibre.com>
Re: [PATCH 2/8] iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Thu, 3 Oct 2024 17:44:20 -0500
David Lechner <dlechner@baylibre.com> wrote:

> On 10/3/24 11:49 AM, Javier Carrasco wrote:
> > 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: 128b9389db0e ("staging: iio: resolver: ad2s1210: add triggered buffer support")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> > ---  
> 
> Reviewed-by: David Lechner <dlechner@baylibre.com>


applied.