Re: [PATCH] gpio: generic: Avoid pinctrl calls when ranges are missing
Bartosz Golaszewski <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 20 Aug 2026 19:10:05 +0200, Linus Walleij wrote:
> Most calls to the pinctrl core is done through the generic helper
> that go into gpiolib, where the library checks if there is a range
> associated with the chip and just bails out silently if ther isn't.
>
> gpio_mmio_dir_return() misses this check before calling
> pinctrl_gpio_direction_output/input().
>
> [...]
Applied, thanks!
[1/1] gpio: generic: Avoid pinctrl calls when ranges are missing
https://git.kernel.org/brgl/c/a38ad4bbd1f2862a7db1cb0a4ec27af166882e95
Best regards,
--
Bartosz Golaszewski <[email protected]>