usb: gadget: In OTG mode, power down the controller on probe
authorBenoit Goby <benoit@android.com>
Tue, 10 Aug 2010 03:49:09 +0000 (20:49 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:27:44 +0000 (16:27 -0700)
commite72831f9e03e087e7b5b48c0902a4473eba2876f
treecea4b2fe8e7514e76dba38d25cc4fec8b02448f3
parent77dc54fd03bb96a0b78d7e338b90cfc0865bd118
usb: gadget: In OTG mode, power down the controller on probe

The OTG driver will power it up on ID pin detection. This avoids
race conditions when the device is powered on with the otg cable
attached.

Change-Id: I6bd5f1d73284f9b8534ef3dfb936b81a9400fa5b
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/fsl_udc_core.c