linux-stable/drivers/usb/common
Sean Anderson 330d22aba1 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:24:56 +01:00
..
common.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
common.h
debug.c usb: common: debug: Check non-standard control requests 2022-08-19 11:04:25 +02:00
Kconfig
led.c leds: Change led_trigger_blink[_oneshot]() delay parameters to pass-by-value 2023-05-25 12:16:27 +01:00
Makefile
ulpi.c usb: ulpi: Fix debugfs directory leak 2024-02-23 09:24:56 +01:00
usb-conn-gpio.c usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-04 14:57:04 +02:00
usb-otg-fsm.c