Re: [PATCH] iio: light: vl6180: select triggered buffer support

From: Joshua Crofts

Date: Mon Nov 30 2026 - 10:29:29 EST


On 30-Nov-26 13:39, Pengpeng Hou wrote:
> The VL6180 continuous-mode implementation registers and polls an IIO
> trigger and uses the triggered-buffer helpers, but VL6180 does not
> select the corresponding support. The driver cannot be built when
> the trigger infrastructure is absent, and buffer helpers also need a
> matching provider.
>
> Select IIO_BUFFER and IIO_TRIGGERED_BUFFER instead of relying on
> other drivers to enable them.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: eeebe3937cfc ("iio: light: vl6180: Add support for Continuous Mode")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
> ---

Tested-by: Joshua Crofts <crofts@xxxxxxxxxx>
Reviewed-by: Joshua Crofts <crofts@xxxxxxxxxx>

--
Kind regards,
Joshua Crofts