Re: [PATCH] iio: adc: ti-ads112c14: select triggered buffer support
From: Joshua Crofts
Date: Mon Nov 30 2026 - 10:24:06 EST
On 30-Nov-26 13:37, Pengpeng Hou wrote:
> The ADS112C14 buffered-read path uses the IIO triggered-buffer
> helpers. Continuous mode also registers and polls an IIO trigger.
> TI_ADS112C14 does not select either buffer support or the
> triggered-buffer provider, so configurations without another IIO
> driver enabling them cannot build the driver.
>
> Select IIO_BUFFER and IIO_TRIGGERED_BUFFER. The latter also selects
> the trigger and kfifo support used by these paths.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 31640de34d5a ("iio: adc: ti-ads112c14: add support for buffered read")
> Fixes: 3e274d73aada ("iio: adc: ti-ads112c14: add continuous mode support")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
> ---
Tested-by: Joshua Crofts <crofts@xxxxxxxxxx>
Reviewed-by: Joshua Crofts <crofts@xxxxxxxxxx>
--
Kind regards,
Joshua Crofts