summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexis Bouzigues <BouziguesAlexis@JohnDeere.com>2026-10-07 09:34:16 -0500
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-11-02 00:37:43 +0000
commita107ee273c65414bfcf680b0bf1e9cf3c3365ce1 (patch)
tree90d37e810df1ad30dea0b0a9ae999055baee035a /tools/perf/scripts/python
parent9a60b35fe45801d45454e1efe90569c9cc6ea736 (diff)
iio: accel: adxl345: select IIO_BUFFER and IIO_KFIFO_BUF
Since the addition of FIFO watermark support, adxl345_core.c calls devm_iio_kfifo_buffer_setup() and iio_push_to_buffers(), but the ADXL345 Kconfig entry does not select IIO_BUFFER and IIO_KFIFO_BUF. Building with CONFIG_ADXL345_I2C=y and CONFIG_IIO_BUFFER=n fails to link: ld: drivers/iio/accel/adxl345_core.o: in function `adxl345_irq_handler': adxl345_core.c:(.text+0x145c): undefined reference to `iio_push_to_buffers' ld: drivers/iio/accel/adxl345_core.o: in function `adxl345_core_probe': adxl345_core.c:(.text+0x1db6): undefined reference to `devm_iio_kfifo_buffer_setup_ext' Add the missing selects on the hidden ADXL345 core symbol, as done for ADXL367, ADXL372 and ADXL380, so both the I2C and SPI front-ends are covered. Fixes: cf04212d1fe7 ("iio: accel: adxl345: add FIFO with watermark events") Signed-off-by: Alexis Bouzigues <BouziguesAlexis@JohnDeere.com> Tested-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions