patch-2.4.27 linux-2.4.27/drivers/usb/host/ehci-sched.c

Next file: linux-2.4.27/drivers/usb/host/uhci-debug.h
Previous file: linux-2.4.27/drivers/usb/host/ehci-hcd.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/usb/host/ehci-sched.c linux-2.4.27/drivers/usb/host/ehci-sched.c
@@ -402,7 +402,7 @@
 		qh->start = frame;
 
 		/* reset S-frame and (maybe) C-frame masks */
-		qh->hw_info2 &= ~0xffff;
+		qh->hw_info2 &= ~__constant_cpu_to_le32(0xffff);
 		qh->hw_info2 |= cpu_to_le32 (1 << uframe) | c_mask;
 	} else
 		dbg ("reused previous qh %p schedule", qh);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)