Re: (subset) [PATCH 0/2] gpio: don't compare raw GPIO descriptor pointers directly
From: Bartosz Golaszewski
Date: Wed Apr 09 2025 - 04:04:11 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Mon, 07 Apr 2025 09:08:13 +0200, Bartosz Golaszewski wrote:
> Handling of shared GPIOs in the kernel needs some improvements. Let's
> start with a simple change of not comparing GPIO descriptor pointers
> directly as there's nothing that guarantees that the same physical pin
> will always be represented by a single GPIO descriptor obtained by
> calling gpiod_get().
>
> For merging: I suggest to take patch 1/2 through the GPIO tree and
> provide an immutable tag for the regulator tree.
>
> [...]
Applied, thanks!
[1/2] gpio: provide gpiod_is_equal()
https://git.kernel.org/brgl/linux/c/265daffe788aa1cc5925d0afcde4fe6e99c66638
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>