Re: [PATCH] drm/bridge: ti-sn65dsi86: use new GPIO line value setter callbacks

From: Doug Anderson
Date: Tue Jun 10 2025 - 12:35:21 EST


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.

-Doug