Re: [PATCH v3 11/14] gpio: regmap: Use regmap_test_bits() for single bit reads

Linus Walleij <[email protected]>
Newsgroups gmane.linux.kernel.iio,gmane.linux.drivers.devicetree,gmane.linux.kernel,gmane.linux.kernel.gpio,gmane.linux.documentation
Message-ID <CAD++jLn4pOXp1cbU8oUeVw5SRET2bwXJjhsaiostLcSL9frcHg@mail.gmail.com>
On Thu, Aug 13, 2026 at 3:58 PM Janani Sunil <[email protected]> wrote:

> Use regmap_test_bits() when reading a single GPIO value from a normal
> register and when reading the direction bit.
>
> Signed-off-by: Janani Sunil <[email protected]>

Looks good:
Reviewed-by: Linus Walleij <[email protected]>

Do you even strictly depend on this?

To me it looks like a patch Bartosz could just merge orthogonally
to the GPIO tree.

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.