Re: [PATCH 25/37] xhci: Introduce helper to turn one TRB into a no-op

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/20/2017 05:47 PM, Mathias Nyman wrote:

Useful for turning both transfer and command trbs
into no-ops

Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
---
 drivers/usb/host/xhci-ring.c | 32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 8b78eee..699fc2d 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
[...]
@@ -290,6 +305,9 @@ static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci)
 					cmd_list);
 }

+
+
+

   ???

 /*
  * Turn all commands on command ring with status set to "aborted" to no-op trbs.
  * If there are other commands waiting then restart the ring and kick the timer.
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux