USB: fix usb mouse detect insensitively.
authorwlf <wulf@rock-chips.com>
Wed, 24 Sep 2014 11:38:03 +0000 (19:38 +0800)
committerwlf <wulf@rock-chips.com>
Wed, 24 Sep 2014 11:38:03 +0000 (19:38 +0800)
commitf6920b2eed4d9bc16e9a56e2c7191686c126e92b
tree5536e50fa8b9b831997e5146531a69d2ee443a33
parentcf4e7d31be7029aff1d6197d687d152713967d2f
USB: fix usb mouse detect insensitively.

In hot-plug case, the hcd->frame_number variable is abnormal,
and it will cause dwc_otg_hcd_handle_sof_intr to wait a long
time for periodic schedule frame. So need to unset
hcd->frame_number variable when devices disconnect.
drivers/usb/dwc_otg_310/dwc_otg_hcd.c