projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69257b
)
usb: xhci: support 1.1 or later version
author
Chunfeng Yun
<chunfeng.yun@mediatek.com>
Fri, 8 Nov 2019 02:55:52 +0000
(10:55 +0800)
committer
Marek Vasut
<marek.vasut+renesas@gmail.com>
Fri, 8 Nov 2019 10:09:08 +0000
(11:09 +0100)
The xHCI 1.1 version also need set Transfer Type field
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-ring.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-ring.c
b/drivers/usb/host/xhci-ring.c
index 119b41848715fd4074f25319828ed35f73cb707e..6a469e1dae99aff5f002010e66e9f67dbc935c0d 100644
(file)
--- a/
drivers/usb/host/xhci-ring.c
+++ b/
drivers/usb/host/xhci-ring.c
@@
-827,7
+827,7
@@
int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe,
field |= 0x1;
/* xHCI 1.0 6.4.1.2.1: Transfer Type field */
- if (HC_VERSION(xhci_readl(&ctrl->hccr->cr_capbase))
=
= 0x100) {
+ if (HC_VERSION(xhci_readl(&ctrl->hccr->cr_capbase))
>
= 0x100) {
if (length > 0) {
if (req->requesttype & USB_DIR_IN)
field |= (TRB_DATA_IN << TRB_TX_TYPE_SHIFT);