summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorMinas Harutyunyan <Minas.Harutyunyan@synopsys.com>2021-06-17 19:55:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-21 12:28:18 +0300
commit84524d1232ecca7cf8678e851b254f05cff4040a (patch)
tree185c839aee7917c34af97b9542f77c9e9a385710 /drivers/usb/host/xhci.c
parent88693f770bb09c196b1eb5f06a484a254ecb9924 (diff)
downloadlinux-84524d1232ecca7cf8678e851b254f05cff4040a.tar.xz
usb: dwc3: Fix debugfs creation flow
Creation EP's debugfs called earlier than debugfs folder for dwc3 device created. As result EP's debugfs are created in '/sys/kernel/debug' instead of '/sys/kernel/debug/usb/dwc3.1.auto'. Moved dwc3_debugfs_init() function call before calling dwc3_core_init_mode() to allow create dwc3 debugfs parent before creating EP's debugfs's. Fixes: 8d396bb0a5b6 ("usb: dwc3: debugfs: Add and remove endpoint dirs dynamically") Cc: stable <stable@vger.kernel.org> Reviewed-by: Jack Pham <jackp@codeaurora.org> Signed-off-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com> Link: https://lore.kernel.org/r/01fafb5b2d8335e98e6eadbac61fc796bdf3ec1a.1623948457.git.Minas.Harutyunyan@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions