Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 29 Feb 2024 14:37:14 +0100 | Subject | Re: [PATCH] pinctrl: don't put the reference to GPIO device in pinctrl_pins_show() |
| |
On Fri, Feb 23, 2024 at 1:32 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > The call to gpiod_to_gpio_device() does not increase the reference count > of the GPIO device struct so it must not be decreased. Remove the buggy > __free() decorator. > > Fixes: 524fc108b895 ("pinctrl: stop using gpiod_to_chip()") > Reported-by: David Arcari <darcari@redhat.com> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Patch applied for fixes!
Yours, Linus Walleij
| |