Re: [PATCH] drm/bridge: ti-sn65dsi86: use new GPIO line value setter callbacks
From: Doug Anderson
Date: Mon Jun 16 2025 - 20:15:02 EST
Hi,
On Tue, Jun 10, 2025 at 9:27 AM Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> On Tue, Jun 10, 2025 at 5:34 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> >
> > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> >
> > struct gpio_chip now has callbacks for setting line values that return
> > an integer, allowing to indicate failures. Convert the driver to using
> > them.
> >
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> > ---
> > Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return
> > values") added new line setter callbacks to struct gpio_chip. They allow
> > to indicate failures to callers. We're in the process of converting all
> > GPIO controllers to using them before removing the old ones.
> > ---
> > drivers/gpu/drm/bridge/ti-sn65dsi86.c | 18 +++++++-----------
> > 1 file changed, 7 insertions(+), 11 deletions(-)
>
> Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
>
> Looks like this should be fine to go through drm-misc. I'll plan to
> apply it next week unless I get overly distracted.
Pushed to drm-misc-next:
[1/1] drm/bridge: ti-sn65dsi86: use new GPIO line value setter callbacks
commit: 98df1626ae036c1ba8c844c9fd995ab8f23bbe37