iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

commit 5bede94867 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: 8f2b54824b ("drivers:iio:dac: Add AD3552R driver support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-7-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>
This commit is contained in:
Javier Carrasco 2024-10-03 23:04:53 +02:00 committed by Greg Kroah-Hartman
parent ad60bbd7c0
commit 2f76debe69

View File

@ -9,6 +9,8 @@ menu "Digital to analog converters"
config AD3552R config AD3552R
tristate "Analog Devices AD3552R DAC driver" tristate "Analog Devices AD3552R DAC driver"
depends on SPI_MASTER depends on SPI_MASTER
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Say yes here to build support for Analog Devices AD3552R Say yes here to build support for Analog Devices AD3552R
Digital to Analog Converter. Digital to Analog Converter.