bcm53xx: fix usb3 build with kernel 4.1

One argument was removed with kernel 4.1 from xhci_handshake() which
caused a compile error.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46369
v19.07.3_mercusys_ac12_duma
Hauke Mehrtens 9 years ago
parent 52bfee77e4
commit 60cecc6fa5

@ -64,7 +64,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+ /*
+ * Wait for the HCHalted Status bit to be 0 to indicate the host is running.
+ */
+ ret = xhci_handshake(xhci, &xhci->op_regs->status,
+ ret = xhci_handshake(&xhci->op_regs->status,
+ STS_HALT, 0, XHCI_MAX_HALT_USEC);
+
+ if (ret == -ETIMEDOUT) {

Loading…
Cancel
Save