Re: [PATCH] iio: proximity: vl53l0x: select triggered buffer support
From: Joshua Crofts
Date: Mon Nov 30 2026 - 10:26:40 EST
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>
--
Kind regards,
Joshua Crofts