]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER
authorMichael Walle <michael@walle.cc>
Mon, 3 Aug 2020 08:30:01 +0000 (10:30 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Aug 2020 10:38:45 +0000 (11:38 +0100)
commit3bd8cd41b87d26733e75e8686b56d6c731f834f0
treebdc8ba6ac8c797c4026107985d8b04eb5f9b20c7
parent69921e87363d67b0bf7c4e435a3dfcc7cc5a0cc1
iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER

The kernel fails to compile due to undefined reference to
devm_iio_triggered_buffer_setup() if IIO_TRIGGERED_BUFFER is not
enabled. The original patch [1] had this dependency. But somehow it
didn't make it into the kernel tree. Re-add it.

[1] https://lore.kernel.org/lkml/20200623233011.2319035-3-heiko@sntech.de/

Fixes: 7f55f525111b ("iio: adc: rockchip_saradc: Add support iio buffers")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig