Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
[cascardo/linux.git] / drivers / usb / host / ehci-mem.c
index 1f3f01e..d36e4e7 100644 (file)
@@ -40,7 +40,7 @@ static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd,
 {
        memset (qtd, 0, sizeof *qtd);
        qtd->qtd_dma = dma;
-       qtd->hw_token = cpu_to_le32 (QTD_STS_HALT);
+       qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT);
        qtd->hw_next = EHCI_LIST_END(ehci);
        qtd->hw_alt_next = EHCI_LIST_END(ehci);
        INIT_LIST_HEAD (&qtd->qtd_list);