[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAD++jLmvgyeJkpqmuVEn3-F77eHkaa+O3s4Xh15B22kSgWMQPg@mail.gmail.com>
Date: Fri, 9 Jan 2026 15:31:08 +0100
From: Linus Walleij <linusw@...nel.org>
To: Bartosz Golaszewski <bartosz.golaszewski@....qualcomm.com>
Cc: Bartosz Golaszewski <brgl@...nel.org>, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, Michael Walle <mwalle@...nel.org>
Subject: Re: [PATCH] gpio: davinci: implement .get_direction()
On Fri, Jan 9, 2026 at 2:00 PM Bartosz Golaszewski
<bartosz.golaszewski@....qualcomm.com> wrote:
> It's strongly recommended for GPIO drivers to always implement the
> .get_direction() callback - even for fixed-direction controllers.
>
> GPIO core will even emit a warning if the callback is missing, when
> users try to read the direction of a pin.
>
> Implement .get_direction() for gpio-davinci.
>
> Reported-by: Michael Walle <mwalle@...nel.org>
> Closes: https://lore.kernel.org/all/DFJAFK3DTBOZ.3G2P3A5IH34GF@kernel.org/
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@....qualcomm.com>
Reviewed-by: Linus Walleij <linusw@...nel.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists