usb: xhci: support 1.1 or later version
Subsystems (2)
PATCH 1/1 usb: xhci: support 1.1 or later version
The xHCI 1.1 version also need set Transfer Type field
Signed-off-by Chunfeng Yun <[email protected]>
--- drivers/usb/host/xhci-ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-ring.c +1 -1
@@ -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 );
Signature · 1 line
1.8.1.1.dirty
PATCH 1/1 usb: xhci: support 1.1 or later version
Quoted 8 lines · Chunfeng Yun
The xHCI 1.1 version also need set Transfer Type field
Signed-off-by Chunfeng Yun <[email protected]>--- drivers/usb/host/xhci-ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Bin Meng <[email protected]>
Marek Vasut
AppliedPATCH 1/1 usb: xhci: support 1.1 or later version
Quoted 11 lines · Bin Meng
Quoted 8 lines · Chunfeng Yun
The xHCI 1.1 version also need set Transfer Type field
Signed-off-by Chunfeng Yun <[email protected]>--- drivers/usb/host/xhci-ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Bin Meng <[email protected]>
Applied, thanks