Re: [PATCH v2] gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths
From: Bartosz Golaszewski
Date: Fri Jan 02 2026 - 04:46:01 EST
On Fri, 26 Dec 2025 11:34:10 +0530, Abdun Nihaal wrote:
> The reference obtained by calling usb_get_dev() is not released in the
> gpio_mpsse_probe() error paths. Fix that by using device managed helper
> functions. Also remove the usb_put_dev() call in the disconnect function
> since now it will be released automatically.
>
>
Applied, thanks!
[1/1] gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths
commit: 1e876e5a0875e71e34148c9feb2eedd3bf6b2b43
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>