aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/xhci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 59f38a5f2fe6..a9b836d4b290 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1746,6 +1746,7 @@ cleanup:
1746 for (i = 0; i < num_eps; i++) { 1746 for (i = 0; i < num_eps; i++) {
1747 ep_index = xhci_get_endpoint_index(&eps[i]->desc); 1747 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1748 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); 1748 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
1749 vdev->eps[ep_index].stream_info = NULL;
1749 /* FIXME Unset maxPstreams in endpoint context and 1750 /* FIXME Unset maxPstreams in endpoint context and
1750 * update deq ptr to point to normal string ring. 1751 * update deq ptr to point to normal string ring.
1751 */ 1752 */
@@ -1826,6 +1827,7 @@ int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
1826 for (i = 0; i < num_eps; i++) { 1827 for (i = 0; i < num_eps; i++) {
1827 ep_index = xhci_get_endpoint_index(&eps[i]->desc); 1828 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1828 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); 1829 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
1830 vdev->eps[ep_index].stream_info = NULL;
1829 /* FIXME Unset maxPstreams in endpoint context and 1831 /* FIXME Unset maxPstreams in endpoint context and
1830 * update deq ptr to point to normal string ring. 1832 * update deq ptr to point to normal string ring.
1831 */ 1833 */