usb: host: OTG driver now adds/removes the ehci device based on ID pin status
authorBenoit Goby <benoit@android.com>
Tue, 31 Aug 2010 23:49:39 +0000 (16:49 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:22 +0000 (16:28 -0700)
commitc3b5093ac899ba64f3efa1b0660fadd43311ec01
tree94bf7f2dc03afd022424970a551eb3c1be33dc06
parent6e9b65b7d1cfc9d560f1431a862b636acad4d430
usb: host: OTG driver now adds/removes the ehci device based on ID pin status

There is no need anymore to check the OTG state on every interrupts and
use a work thread.

Moved the suspend code from usb_phy.c as this is ehci specific.

Change-Id: I523baab1476323a35360b1d802088370e42d0fd7
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/host/ehci-tegra.c