Re: [PATCH] iio: accel: adxl313: add missing buffer selections in Kconfig
From: Joshua Crofts
Date: Thu Oct 08 2026 - 03:42:16 EST
On Tue, 06 Oct 2026 19:08:58 -0500
Alexis Bouzigues via B4 Relay <devnull+BouziguesAlexis.JohnDeere.com@xxxxxxxxxx> wrote:
> From: Alexis Bouzigues <BouziguesAlexis@xxxxxxxxxxxxx>
>
> The FIFO support added to the ADXL313 core uses
> devm_iio_kfifo_buffer_setup() and iio_push_to_buffers(), but its Kconfig
> entry does not select the required buffer support. Enabling either
> frontend without IIO_BUFFER or IIO_KFIFO_BUF causes undefined references
> to devm_iio_kfifo_buffer_setup_ext() and iio_push_to_buffers().
>
> Select IIO_BUFFER and IIO_KFIFO_BUF from the shared ADXL313 core symbol
> so both the I2C and SPI frontends have the required dependencies.
>
> Fixes: ff8093fa6ba4 ("iio: accel: adxl313: add buffered FIFO watermark with interrupt handling")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: LLM
> Signed-off-by: Alexis Bouzigues <BouziguesAlexis@xxxxxxxxxxxxx>
> ---
Tested-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
If you're doing the same change for multiple drivers, please send it
as a series, it will make reviewing easier.
--
Kind regards,
Joshua Crofts