Re: [PATCH] gpio: pxa: stop reading gpio_chip::base in direction callbacks

From: Bartosz Golaszewski

Date: Mon Sep 28 2026 - 04:40:33 EST



On Thu, 24 Sep 2026 15:02:42 +0100, Areeb Ul Haq Mirza wrote:
> __gpio_is_inverted() identifies GPIO86-89 on PXA26x by comparing its
> argument against hardware line numbers, and its other callers pass the
> hardware index from irqd_to_hwirq(). The direction_input() and
> direction_output() callbacks instead pass chip->base + offset.
>
> Pass the offset directly, which is the same conversion that commit
> 566e684e70cb ("gpio: pxa: use new pinctrl GPIO helpers") made for the
> pinctrl calls in these functions.
>
> [...]

Applied, thanks!

[1/1] gpio: pxa: stop reading gpio_chip::base in direction callbacks
https://git.kernel.org/brgl/c/c4e74a7058b573617f142e07b4b5bc9eee04f4c8

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>