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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:35:12 +0000 (21:35 -0800)
commitf9b7df536c2dbd536d27ff8b5ce52775f4277907
tree7646ac7cbb24f209b1ac04c05e500022309260c3
parent0853443b2afa8aa6d8f1efd8e9aedc235c86a86b
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