summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-21 08:53:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-21 08:53:43 +0200
commitc6d9e43954bfa7415a1e9efdb2806ec1d8a8afc8 (patch)
tree4f8b23679ea48fcfbee582f876f62e144c71f8d7 /drivers/usb/host/xhci.h
parent07b887f8236eb3ed52f1fe83e385e6436dc4b052 (diff)
parent42f7652d3eb527d03665b09edac47f85fb600924 (diff)
downloadlwn-c6d9e43954bfa7415a1e9efdb2806ec1d8a8afc8.tar.gz
lwn-c6d9e43954bfa7415a1e9efdb2806ec1d8a8afc8.zip
Merge 6.12-rc4 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 529213ceb9fd..55a81073cf1e 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1001,7 +1001,7 @@ enum xhci_setup_dev {
/* Set TR Dequeue Pointer command TRB fields, 6.4.3.9 */
#define TRB_TO_STREAM_ID(p) ((((p) & (0xffff << 16)) >> 16))
#define STREAM_ID_FOR_TRB(p) ((((p)) & 0xffff) << 16)
-#define SCT_FOR_TRB(p) (((p) << 1) & 0x7)
+#define SCT_FOR_TRB(p) (((p) & 0x7) << 1)
/* Link TRB specific fields */
#define TRB_TC (1<<1)