mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			491 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			491 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/drivers/usb/host/ehci-q.c
 | 
						|
+++ b/drivers/usb/host/ehci-q.c
 | 
						|
@@ -782,6 +782,11 @@ static void qh_link_async (struct ehci_h
 | 
						|
 		if (!(cmd & CMD_ASE)) {
 | 
						|
 			/* in case a clear of CMD_ASE didn't take yet */
 | 
						|
 			(void) handshake (&ehci->regs->status, STS_ASS, 0, 150);
 | 
						|
+
 | 
						|
+			/* force async head to be valid */
 | 
						|
+			writel ((u32)ehci->async->qh_dma,
 | 
						|
+					&ehci->regs->async_next);
 | 
						|
+
 | 
						|
 			cmd |= CMD_ASE | CMD_RUN;
 | 
						|
 			writel (cmd, &ehci->regs->command);
 | 
						|
 			ehci->hcd.state = USB_STATE_RUNNING;
 |