Re: [PATCH] serial: sc16is7xx: implement gpio get_direction() callback

Linus Walleij <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-serial
Message-ID <CAD++jLnzMEL5vauna86RgLWs1edcvE4YEddoBEZN9Gkc8XQzzw@mail.gmail.com>
On Thu, Jul 16, 2026 at 11:08 PM Hugo Villeneuve <[email protected]> wrote:

> From: Hugo Villeneuve <[email protected]>
>
> It's strongly recommended for GPIO drivers to always implement the
> .get_direction() callback - even when the direction is tracked in
> software. The GPIO core emits a warning when the callback is missing
> and a user reads the direction of a line, e.g. via
> /sys/kernel/debug/gpio.
>
> Fixes: dfeae619d781 ("serial: sc16is7xx")
> Cc: [email protected]
> Signed-off-by: Hugo Villeneuve <[email protected]>

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

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.