]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 3 Oct 2024 21:04:52 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 01:02:33 +0000 (02:02 +0100)
[ Upstream commit a985576af824426e33100554a5958a6beda60a13 ]

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: 6c7bc1d27bb2 ("iio: adc: ti-lmp92064: add buffering support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-6-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iio/adc/Kconfig

index cceac30e2bb9f9ecdb6584170356a4a7a5c7d135..c16316664db38e5debbe5a52ec2df78e63768ad3 100644 (file)
@@ -1486,6 +1486,8 @@ config TI_LMP92064
        tristate "Texas Instruments LMP92064 ADC driver"
        depends on SPI
        select REGMAP_SPI
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
        help
          Say yes here to build support for the LMP92064 Precision Current and Voltage
          sensor.