@@ -128,17 +128,9 @@ qh_refresh (struct ehci_hcd *ehci, struct ehci_qh *qh)
else {
qtd = list_entry (qh->qtd_list.next,
struct ehci_qtd, qtd_list);
- /*
- * first qtd may already be partially processed.
- * If we come here during unlink, the QH overlay region
- * might have reference to the just unlinked qtd. The
- * qtd is updated in qh_completions(). Update the QH
- * overlay here.
- */
- if (cpu_to_hc32(ehci, qtd->qtd_dma) == qh->hw->hw_current) {
- qh->hw->hw_qtd_next = qtd->hw_next;
+ /* first qtd may already be partially processed */
+ if (cpu_to_hc32(ehci, qtd->qtd_dma) == qh->hw->hw_current)
qtd = NULL;
- }
}
if (qtd)
From: Joseph Salisbury <joseph.salisbury@canonical.com> BugLink: http://bugs.launchpad.net/bugs/1088733 This reverts commit 1cef533d4e688acbf048b5b32e6f3ca9a265ed4e. --- drivers/usb/host/ehci-q.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)