[USB-BRINGUP-TRUNK]
authorCameron Gutman <aicommander@gmail.com>
Mon, 23 Jan 2012 15:53:25 +0000 (15:53 +0000)
committerCameron Gutman <aicommander@gmail.com>
Mon, 23 Jan 2012 15:53:25 +0000 (15:53 +0000)
- Restore the frame interval register after a reset as per OHCI spec

svn path=/branches/usb-bringup-trunk/; revision=55112

drivers/usb/usbohci/hardware.cpp

index 32da72c..e2e0cdb 100644 (file)
@@ -996,6 +996,11 @@ CUSBHardwareDevice::StopController(void)
         //
         if ((Reset & OHCI_HOST_CONTROLLER_RESET) == 0)
         {
+            //
+            // restore the frame interval register
+            //
+            WRITE_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_FRAME_INTERVAL_OFFSET), FrameInterval);
+
             //
             // controller completed reset
             //