usb: otg: Remove the force_irq hack
authorBenoit Goby <benoit@android.com>
Wed, 1 Sep 2010 00:22:26 +0000 (17:22 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:01 +0000 (16:51 -0700)
commit6aa29592b273d12c99e913095e31d6a6aae9d71f
treeca5485816d5f798c25f63b8c9430eb54f61dfda9
parentc55aca163ae13fb0638fbfea4ab5b8cba4cdcd58
usb: otg: Remove the force_irq hack

Dynamically add/remove the ehci platform device and use
vbus_connect/vbus_disconnect to notify the gadget driver of
OTG state changes.
Only enable the clock when needed, as we rarely need to access
the registers.

Change-Id: Id198822c58f50252361333c3a99c416a3baaace2
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/otg/cpcap-otg.c