Re: [PATCH] iio: accel: adxl313: add missing buffer selections in Kconfig
From: Jonathan Cameron
Date: Sun Oct 18 2026 - 15:38:37 EST
On Mon, 12 Oct 2026 15:30:50 +0100
Nuno Sá <nuno.sa@xxxxxxxxxx> wrote:
> On Tue, Oct 06, 2026 at 07:08:58PM -0500, Alexis Bouzigues via B4 Relay 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>
> > ---
> > Add the buffer selections required by the ADXL313 FIFO support.
> > The shared core symbol covers both I2C and SPI frontends.
> > ---
>
> Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
>
Applied to the fixes-togreg branch of iio.git and marked for stable.
Thanks,
Jonathan