Skip to content
Commit 8562d5bf authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: dwc3: remove debugfs root dentry storage



There is no need to keep around the debugfs "root" directory for the
dwc3 device.  Instead, look it up anytime we need to find it.  This will
help when callers get out-of-order and we had the potential to have a
"stale" pointer around for the root dentry, as has happened in the past.

Tested-by: default avatarJack Pham <jackp@codeaurora.org>
Reviewed-by: default avatarPeter Chen <peter.chen@kernel.org>
Acked-by: default avatarFelipe Balbi <balbi@kernel.org>
Link: https://lore.kernel.org/r/20210609093924.3293230-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 03a674f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment