OSDN Git Service

xhci: Introduce helper to turn one TRB into a no-op
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 23 Jan 2017 12:20:15 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:59:07 +0000 (10:59 +0100)
commitae1e3f07320884ff25354d8233dc18d5283b0bb8
treeaef55b340cccf38249df4a93c889202b4c64ff43
parenta60f2f2ffabe14a559510dcf347bef9a7a312516
xhci: Introduce helper to turn one TRB into a no-op

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

Based on earlier code by Felipe Balbi <felipe.balbi@linux.intel.com>

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c