usb: ehci: tegra: remove reschedule rh_timer
authorJay Cheng <jacheng@nvidia.com>
Thu, 6 Jan 2011 05:16:18 +0000 (00:16 -0500)
committerBenoit Goby <benoit@android.com>
Mon, 10 Jan 2011 01:21:58 +0000 (17:21 -0800)
commitedd66078f5a0d7e60adc03ed6d6fc92d5a764352
treee4dc90ae6acb63b924da4e09152ea7f54bdd3b1b
parentdb23c5ae580ea8bba4bd10449c5571939aef8086
usb: ehci: tegra: remove reschedule rh_timer

Reschedule rh_timer may cause usb device resume fail, as rh_timer may be
timeout and send USB_REQ_GET_STATUS SETUP control transfer by the time when
the device is handling clear suspend feature, which in turn the device may
drop clear suspend feature request.

Actually on port resume case, the host driver don't need to reschedule
rh_timer to check port status. The host driver will check port status right
after suspend feature is cleared.

Change-Id: I6205e97af49ed4349b6215b851f6b5f1394258d8
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
drivers/usb/host/ehci-tegra.c