mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mehmet Fide <mehmet.fide@gmail.com>
To: Linus Walleij <linusw@kernel.org>, Bartosz Golaszewski <brgl@kernel.org>
Cc: Mehmet Fide <mehmet.fide@gmail.com>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpiolib: return quietly from gpiod_get_direction() without .get_direction()
Date: Thu, 20 Aug 2026 13:12:34 +0200	[thread overview]
Message-ID: <20260820111234.1085436-1-mehmet.fide@gmail.com> (raw)
In-Reply-To: <20260813193715.2346477-1-mehmet.fide@gmail.com>

Hello,

A gentle ping on this one, sent a week ago and I have not seen a reply:

  https://lore.kernel.org/linux-gpio/20260813193715.2346477-1-mehmet.fide@gmail.com/

To recap: gpiod_get_direction() warns when a chip has no .get_direction(),
which is a legitimate thing for a chip to lack. On vf610 the direction is
not in the GPIO block at all, it is a bit of the pinmux pad register, so
the driver cannot implement the callback and every caller that asks for a
direction produces a WARN.

Happy to respin or take a different approach if you would rather solve it
elsewhere.

Best regards,
Mehmet Fide

  reply	other threads:[~2026-08-20 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13 19:37 Mehmet Fide
2026-08-20 11:12 ` Mehmet Fide [this message]
2026-08-26 15:06   ` Bartosz Golaszewski

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=20260820111234.1085436-1-mehmet.fide@gmail.com \
    --to=mehmet.fide@gmail.com \
    --cc=brgl@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®