Re: [PATCH] iio: proximity: vl53l0x: select triggered buffer support
From: Jonathan Cameron
Date: Fri Dec 04 2026 - 20:11:08 EST
On Mon, 30 Nov 2026 16:26:30 +0100
Joshua Crofts <crofts@xxxxxxxxxx> wrote:
> On 30-Nov-26 13:38, Pengpeng Hou wrote:
> > The VL53L0X interrupt and continuous-mode paths register and poll an
> > IIO trigger and set up a triggered buffer. VL53L0X_I2C does not
> > select those facilities, so enabling this driver without another IIO
> > buffer consumer can leave the trigger types and interfaces
> > unavailable during compilation.
> >
> > Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to provide the complete
> > buffer and trigger infrastructure used by the driver.
> >
> > The issue was found by our static-analysis tool and manually reviewed.
> >
> > Fixes: 762186c6e7b1 ("iio: proximity: vl53l0x-i2c: Added continuous mode support")
> > Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
> > ---
> Tested-by: Joshua Crofts <crofts@xxxxxxxxxx>
> Reviewed-by: Joshua Crofts <crofts@xxxxxxxxxx>
>
Applied to the testing branch of iio.git
Thanks,
Jonathan