Message ID | 1558524841-25397-3-git-send-email-mathias.nyman@linux.intel.com (mailing list archive) |
---|---|
State | Superseded |
Commit | 5bce256f0b528624a34fe907db385133bb7be33e |
Headers | show |
Series | xhci fixes for usb-linus | expand |
diff --git a/drivers/usb/host/xhci-debugfs.c b/drivers/usb/host/xhci-debugfs.c index cadc013..7ba6afc 100644 --- a/drivers/usb/host/xhci-debugfs.c +++ b/drivers/usb/host/xhci-debugfs.c @@ -440,6 +440,9 @@ void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, struct xhci_ep_priv *epriv; struct xhci_slot_priv *spriv = dev->debugfs_private; + if (!spriv) + return; + if (spriv->eps[ep_index]) return;