USB: change otg host connect_detect_timer.

This commit is contained in:
wlf
2014-04-09 16:06:28 +08:00
parent b9d78430dc
commit 07066dca57

View File

@@ -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;