Re: [PATCH] iio: light: vl6180: select triggered buffer support
From: Jonathan Cameron
Date: Fri Dec 04 2026 - 20:11:28 EST
On Mon, 30 Nov 2026 16:29:19 +0100
Joshua Crofts <crofts@xxxxxxxxxx> wrote:
> 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>
>
Applied.