Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265005
b: refs/heads/master
c: d782659
h: refs/heads/master
i:
  265003: f3dcdc0
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Greg Kroah-Hartman committed Sep 20, 2011
1 parent 083fd27 commit b110405
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45e1892e70b85d251b2e69f4122a04e509ebdf00
refs/heads/master: d78265992425ccb5753db9c56d9703c91b963e4b
2 changes: 1 addition & 1 deletion trunk/drivers/usb/host/xhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ int xhci_init(struct usb_hcd *hcd)

xhci_dbg(xhci, "xhci_init\n");
spin_lock_init(&xhci->lock);
if (link_quirk) {
if (xhci->hci_version == 0x95 && link_quirk) {
xhci_dbg(xhci, "QUIRK: Not clearing Link TRB chain bits.\n");
xhci->quirks |= XHCI_LINK_TRB_QUIRK;
} else {
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/usb/host/xhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -1526,9 +1526,7 @@ static inline void xhci_write_64(struct xhci_hcd *xhci,

static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci)
{
u32 temp = xhci_readl(xhci, &xhci->cap_regs->hc_capbase);
return ((HC_VERSION(temp) == 0x95) &&
(xhci->quirks & XHCI_LINK_TRB_QUIRK));
return xhci->quirks & XHCI_LINK_TRB_QUIRK;
}

/* xHCI debugging */
Expand Down

0 comments on commit b110405

Please sign in to comment.