|
@@ -2564,6 +2564,7 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci,
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
struct xhci_input_control_ctx *ctrl_ctx;
|
|
struct xhci_input_control_ctx *ctrl_ctx;
|
|
struct xhci_virt_device *virt_dev;
|
|
struct xhci_virt_device *virt_dev;
|
|
|
|
+ struct xhci_slot_ctx *slot_ctx;
|
|
|
|
|
|
if (!command)
|
|
if (!command)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
@@ -2602,6 +2603,9 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci,
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx);
|
|
|
|
+ trace_xhci_configure_endpoint(slot_ctx);
|
|
|
|
+
|
|
if (!ctx_change)
|
|
if (!ctx_change)
|
|
ret = xhci_queue_configure_endpoint(xhci, command,
|
|
ret = xhci_queue_configure_endpoint(xhci, command,
|
|
command->in_ctx->dma,
|
|
command->in_ctx->dma,
|