diff options
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 566badb05b34..99ab31e9778b 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -526,12 +526,12 @@ static int ehci_init(struct usb_hcd *hcd) | |||
526 | * from automatically advancing to the next td after short reads. | 526 | * from automatically advancing to the next td after short reads. |
527 | */ | 527 | */ |
528 | ehci->async->qh_next.qh = NULL; | 528 | ehci->async->qh_next.qh = NULL; |
529 | ehci->async->hw_next = QH_NEXT(ehci->async->qh_dma); | 529 | ehci->async->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); |
530 | ehci->async->hw_info1 = cpu_to_le32(QH_HEAD); | 530 | ehci->async->hw_info1 = cpu_to_hc32(ehci, QH_HEAD); |
531 | ehci->async->hw_token = cpu_to_le32(QTD_STS_HALT); | 531 | ehci->async->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); |
532 | ehci->async->hw_qtd_next = EHCI_LIST_END; | 532 | ehci->async->hw_qtd_next = EHCI_LIST_END(ehci); |
533 | ehci->async->qh_state = QH_STATE_LINKED; | 533 | ehci->async->qh_state = QH_STATE_LINKED; |
534 | ehci->async->hw_alt_next = QTD_NEXT(ehci->async->dummy->qtd_dma); | 534 | ehci->async->hw_alt_next = QTD_NEXT(ehci, ehci->async->dummy->qtd_dma); |
535 | 535 | ||
536 | /* clear interrupt enables, set irq latency */ | 536 | /* clear interrupt enables, set irq latency */ |
537 | if (log2_irq_thresh < 0 || log2_irq_thresh > 6) | 537 | if (log2_irq_thresh < 0 || log2_irq_thresh > 6) |