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
Kconfig
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