linux-stable/drivers/usb/common
Sean Anderson d31b886ed6 usb: ulpi: Fix debugfs directory leak
commit 3caf2b2ad7 upstream.

The ULPI per-device debugfs root is named after the ulpi device's
parent, but ulpi_unregister_interface tries to remove a debugfs
directory named after the ulpi device itself. This results in the
directory sticking around and preventing subsequent (deferred) probes
from succeeding. Change the directory name to match the ulpi device.

Fixes: bd0a0a024f ("usb: ulpi: Add debugfs support")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20240126223800.2864613-1-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:12:34 +01:00
..
common.c
common.h
debug.c usb: common: debug: Check non-standard control requests 2022-08-19 11:04:25 +02:00
Kconfig Partially revert "usb: Kconfig: using select for USB_COMMON dependency" 2021-10-05 13:45:16 +02:00
led.c
Makefile
ulpi.c usb: ulpi: Fix debugfs directory leak 2024-02-23 09:12:34 +01:00
usb-conn-gpio.c usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-16 18:27:24 +02:00
usb-otg-fsm.c