mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joshua Crofts <crofts@kernel.org>
To: Pengpeng Hou <hppiscas@163.com>, jic23@kernel.org
Cc: dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: light: vl6180: select triggered buffer support
Date: Mon, 30 Nov 2026 16:29:19 +0100	[thread overview]
Message-ID: <76b0b601-d6ce-4495-8aad-aab8fd4df2e3@kernel.org> (raw)
In-Reply-To: <20261130123954.73722-1-hppiscas@163.com>

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@163.com>
> ---

Tested-by: Joshua Crofts <crofts@kernel.org>
Reviewed-by: Joshua Crofts <crofts@kernel.org>

-- 
Kind regards,
Joshua Crofts


      reply	other threads:[~2026-11-30 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 12:39 Pengpeng Hou
2026-11-30 15:29 ` Joshua Crofts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76b0b601-d6ce-4495-8aad-aab8fd4df2e3@kernel.org \
    --to=crofts@kernel.org \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=hppiscas@163.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®