diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-04 00:29:49 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-05 00:38:02 +0100 |
commit | 9aad95e292f58d00aa0f2e30c7f7dafd7fc7491c (patch) | |
tree | b0dda7e01959c435e0e4f08bb812e4f69bde3657 /drivers/usb/host/xhci.h | |
parent | xhci: Set SCT field for Set TR dequeue on streams (diff) | |
download | linux-9aad95e292f58d00aa0f2e30c7f7dafd7fc7491c.tar.xz linux-9aad95e292f58d00aa0f2e30c7f7dafd7fc7491c.zip |
xhci: For streams the dequeue ptr must be read from the stream ctx
This fixes TR dequeue validation failing on Intel XHCI controllers with the
following warning:
Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
Interestingly enough reading the deq ptr from the ep ctx after a
TR Deq Ptr command does work on a Nec XHCI controller, it seems the Nec
writes the ptr to both the ep and stream contexts when streams are used.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 2c77bf7ab9e5..d280e9213d08 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -703,6 +703,7 @@ struct xhci_ep_ctx { /* deq bitmasks */ #define EP_CTX_CYCLE_MASK (1 << 0) +#define SCTX_DEQ_MASK (~0xfL) /** |