xhci: Add tracing for input control context
Add tracing for the add and drop bits in the input control context used in Address device, configure endpoint, evaluate context commands. The add and drop bits tell xHC which enpoints are added and dropped. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tento commit je obsažen v:

odevzdal
Greg Kroah-Hartman

rodič
d70d5a8466
revize
90d6d5731d
@@ -2771,6 +2771,8 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci,
|
||||
}
|
||||
|
||||
slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx);
|
||||
|
||||
trace_xhci_configure_endpoint_ctrl_ctx(ctrl_ctx);
|
||||
trace_xhci_configure_endpoint(slot_ctx);
|
||||
|
||||
if (!ctx_change)
|
||||
@@ -4036,6 +4038,7 @@ static int xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev,
|
||||
trace_xhci_address_ctx(xhci, virt_dev->in_ctx,
|
||||
le32_to_cpu(slot_ctx->dev_info) >> 27);
|
||||
|
||||
trace_xhci_address_ctrl_ctx(ctrl_ctx);
|
||||
spin_lock_irqsave(&xhci->lock, flags);
|
||||
trace_xhci_setup_device(virt_dev);
|
||||
ret = xhci_queue_address_device(xhci, command, virt_dev->in_ctx->dma,
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele