USB: change otg host connect_detect_timer.
authorwlf <wulf@rock-chips.com>
Wed, 9 Apr 2014 08:06:28 +0000 (16:06 +0800)
committerwlf <wulf@rock-chips.com>
Wed, 9 Apr 2014 08:06:28 +0000 (16:06 +0800)
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c

index af3d96f8b9a20b2e8b67fc40a94ee43fff244769..a0b65906890bd3f024128fe7d9c0f517d814bd76 100755 (executable)
@@ -522,7 +522,7 @@ int otg20_hcd_init( struct platform_device *_dev )
                dwc_otg_hcd->connect_detect_timer.function = otg20_hcd_connect_detect;
                dwc_otg_hcd->connect_detect_timer.data = (unsigned long)(dwc_otg_hcd);
                init_timer( &dwc_otg_hcd->connect_detect_timer);
-               mod_timer(&dwc_otg_hcd->connect_detect_timer, jiffies+(HZ<<2));
+               mod_timer(&dwc_otg_hcd->connect_detect_timer, jiffies+(HZ>>2));
        }
        return 0;