From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796433061; b=knzsRb3iP0Nc9ut8/mUZdChCv+KJRCsEiCaRGLGJ+Gn6c2ri8HcGRYOK+hLffkI1phaC SW5DbtHu5yHVwAszIwirUW4xTwrhN7TEE5tG3kU5fnaegLHFhW9ljg3GC8PdnRBY1hyGo e9T74f2mjrAhop54WiPiQloI/dC43axAVy6JjxxgNWUNm8YOYgq7zHf6hEI0CjGdnNZ0t G6fj6cF6AaBp00cOgBuLd7aToJs9alJeuyiSNKVrnOQP94PKiIXAq2RXdrZGvo2zJtO36 ET9ymFKCowhhnbdMQ1Qt1om95l3zPBNordbEOJroW59dDgQ/liQzCeWwSzLDeWVDaYA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796433061; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=tRaqSvSd/OyzWfohlh9v69dpKiguGsFVFJTuFuiO4fI=; b=2o8W7Tz2laFeCqylz1r4/m2yjjIvtouUTtelSwq0k4jabWtFkIOZIYN1Tig09E3SZECO nWYsdupzrznsuHW9AWillIhv/FMsCf3A57nSv8HNczC9Vf5Amrl5HPfm85Zdm9RKTtia6 bh8Rq7ceWLVA0ukBJie9lQJeP9E4t/DyGO0fTM9wW53ou+jHg6kascyvJ8Sy9g1/J7bAG rLEQSdWsdJtpwV8BGYbScmPUd27A3sRWvKtaLSGZiVdbktWI/4geB/wMOCyhu6p2QqYaU Z1aTfhflPCLMyCRUleL46rGnySrBBHeXeAO/WJMqUBB+eEea9qCOXThiP1HVpKuPwNw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="ODwjcg/3"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EE30606A322; Sat, 5 Dec 2026 01:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ODwjcg/3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 869D61F00A07; Sat, 5 Dec 2026 01:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796433061; bh=tRaqSvSd/OyzWfohlh9v69dpKiguGsFVFJTuFuiO4fI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=ODwjcg/3fiPMLk4efqb/ocLjqLtQcqgaAj8pA8M3LorWK1l6jrCQpZWTf/espWYWu OqBck2YQivfloF4qh4grSpV0WEsi3+XeQXWkAdwjSbxco6viHT5yYxta2kVDCMEqTr hg62P2ayHsu5N6qqTCnsgP6EKHL1++fMRZzg4B2y7abxW6ZvKm31xRN+xFU6vbkg4M 3+ro17WjFvH463YZT81iVLhXlHTXJTNRsJo3p8N0al0f8qibOF4sT/JprWnT6GhRSm Vf7TrVBkN8qWe6d1G3wX3YASVnyVxjEqRofYoFbKvX+S2weuo1SsEN9Hr6rfS2Vt2h Fl6sdLwp0ROgg== Date: Sat, 5 Dec 2026 01:10:55 +0000 From: Jonathan Cameron To: Joshua Crofts Cc: Pengpeng Hou , dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, songqiang1304521@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: proximity: vl53l0x: select triggered buffer support Message-ID: <20261205011055.5836f7ed@jic23-hlaptop> In-Reply-To: References: <20261130123855.73520-1-hppiscas@163.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Nov 2026 16:26:30 +0100 Joshua Crofts 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 > > --- > Tested-by: Joshua Crofts > Reviewed-by: Joshua Crofts > Applied to the testing branch of iio.git Thanks, Jonathan