Unverified Commit d82aa0e6 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2099 xhci:fix USB xhci controller issue

parents fcd00ded 5923d73e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1583,7 +1583,7 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,
	cmd_trb = xhci->cmd_ring->dequeue;

	trace_xhci_handle_command(xhci->cmd_ring, &cmd_trb->generic);

	cmd_comp_code = GET_COMP_CODE(le32_to_cpu(event->status));
	cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg,
			cmd_trb);
	/*
@@ -1602,8 +1602,6 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,

	cancel_delayed_work(&xhci->cmd_timer);

	cmd_comp_code = GET_COMP_CODE(le32_to_cpu(event->status));

	/* If CMD ring stopped we own the trbs between enqueue and dequeue */
	if (cmd_comp_code == COMP_COMMAND_RING_STOPPED) {
		complete_all(&xhci->cmd_ring_stop_completion);
+1 −1

File changed.

Contains only whitespace changes.