Re: [PATCH] iio: adc: rockchip_saradc: Select IIO_TRIGGERED_BUFFER

2020-08-30 Thread Alexandru Elisei
Hi Jonathan, On 8/29/20 3:57 PM, Jonathan Cameron wrote: > On Fri, 28 Aug 2020 18:42:42 +0100 > Alexandru Elisei wrote: > >> Building the Rockchip saradc driver can trigger the following error if the >> driver is compiled into the kernel, but the IIO triggered buffer is not: >> >>

Re: [PATCH] iio: adc: rockchip_saradc: Select IIO_TRIGGERED_BUFFER

2020-08-29 Thread Jonathan Cameron
On Fri, 28 Aug 2020 18:42:42 +0100 Alexandru Elisei wrote: > Building the Rockchip saradc driver can trigger the following error if the > driver is compiled into the kernel, but the IIO triggered buffer is not: > > aarch64-linux-gnu-ld: drivers/iio/adc/rockchip_saradc.o: in function >

[PATCH] iio: adc: rockchip_saradc: Select IIO_TRIGGERED_BUFFER

2020-08-28 Thread Alexandru Elisei
Building the Rockchip saradc driver can trigger the following error if the driver is compiled into the kernel, but the IIO triggered buffer is not: aarch64-linux-gnu-ld: drivers/iio/adc/rockchip_saradc.o: in function `rockchip_saradc_probe': /path/to/linux/drivers/iio/adc/rockchip_saradc.c:427:

Re: [PATCH] iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER

2020-08-09 Thread Jonathan Cameron
On Mon, 03 Aug 2020 13:59:12 +0200 Heiko Stuebner wrote: > Am Montag, 3. August 2020, 10:30:01 CEST schrieb Michael Walle: > > 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

Re: [PATCH] iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER

2020-08-03 Thread Heiko Stuebner
Am Montag, 3. August 2020, 10:30:01 CEST schrieb Michael Walle: > 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

[PATCH] iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER

2020-08-03 Thread Michael Walle
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]