]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: ehci: do not set the LSB of Current qTD pointer
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 17 Nov 2014 08:54:14 +0000 (17:54 +0900)
committerMarek Vasut <marex@denx.de>
Wed, 19 Nov 2014 22:31:54 +0000 (23:31 +0100)
According to EHCI specification, the LSB of DWORD 3 of Queue Head
(Current qTD Pointer) is not T-bit, but always zero.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/usb/host/ehci-hcd.c

index c671c72cb1cfc014a00b47b8b7ad38c1a52e5b0f..54e948aa31eec26582af8febc6ef638946b42797 100644 (file)
@@ -971,7 +971,6 @@ int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
        qh_list->qh_link = cpu_to_hc32((uint32_t)qh_list | QH_LINK_TYPE_QH);
        qh_list->qh_endpt1 = cpu_to_hc32(QH_ENDPT1_H(1) |
                                                QH_ENDPT1_EPS(USB_SPEED_HIGH));
-       qh_list->qh_curtd = cpu_to_hc32(QT_NEXT_TERMINATE);
        qh_list->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE);
        qh_list->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE);
        qh_list->qh_overlay.qt_token =