summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-03-06 11:11:45 +0800
committerJustin Waters <justin.waters@timesys.com>2012-07-03 16:57:37 -0400
commitd177fb4d756062721de47a90e7f2b739639ddcdf (patch)
tree9840077fbb4b9a88495364fbe330988692f3dfac /include
parent16463fe970c45287ab2d5a224751eee3ba2fb210 (diff)
ENGR00176061-2 usb: otg: add discharge vbus flag
Add discharge vbus flag Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 72544b3d6744..dd9549213ed5 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -130,6 +130,8 @@ struct fsl_usb2_platform_data {
* is disconnected with Host.
*/
void (*dr_discharge_line) (bool);
+ /* only set it when vbus lower very slow during OTG switch */
+ bool need_discharge_vbus;
struct fsl_usb2_wakeup_platform_data *wakeup_pdata;
struct platform_device *pdev;