diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-12-26 11:34:10 +0530 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-01-02 10:45:37 +0100 |
| commit | 1e876e5a0875e71e34148c9feb2eedd3bf6b2b43 (patch) | |
| tree | c887a6b81827656277f4dc5c2425c0afe7d0654f /tools/perf/scripts/python/bin/git@git.tavy.me:linux.git | |
| parent | 014a17deb41201449f76df2b20c857a9c3294a7c (diff) | |
gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths
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.
Cc: stable@vger.kernel.org
Fixes: c46a74ff05c0 ("gpio: add support for FTDI's MPSSE as GPIO")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://lore.kernel.org/r/20251226060414.20785-1-nihaal@cse.iitm.ac.in
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
