|
|
|
@ -275,7 +275,7 @@ static void *ehci_alloc(size_t sz, size_t align) |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
memset(p, sz, 0); |
|
|
|
|
memset(p, 0, sz); |
|
|
|
|
return p; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -350,7 +350,6 @@ ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer, |
|
|
|
|
(dev->parent->devnum << 16) | (0 << 8) | (0 << 0); |
|
|
|
|
qh->qh_endpt2 = cpu_to_hc32(endpt); |
|
|
|
|
qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); |
|
|
|
|
qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); |
|
|
|
|
|
|
|
|
|
td = NULL; |
|
|
|
|
tdp = &qh->qh_overlay.qt_next; |
|
|
|
|