usb: xhci: fix link trb decoding
authorLu Baolu <baolu.lu@linux.intel.com>
Fri, 7 Apr 2017 14:57:10 +0000 (17:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:17:42 +0000 (12:17 +0200)
commit96d9a6eb97d77d6a3768f101f400c42743799bb2
tree4a4608cec5d152003ee31b98175daed863c634bf
parentc8844f2ddb0d2bc42a813c567ad4240759f373bd
usb: xhci: fix link trb decoding

xhci_decode_trb() treats a link trb in the same way as that for
an event trb. This patch fixes this by decoding the link trb
according to the spec.

Signed-off-by: Lu Baolu <baolu.lu@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.h