summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-03-06 11:11:45 +0800
committerPeter Chen <peter.chen@freescale.com>2012-03-07 15:01:35 +0800
commit158ce9aa6bda83e44f2a608cb160040662710f62 (patch)
tree9840077fbb4b9a88495364fbe330988692f3dfac /include
parent2f1110c999b6609a61d45742d929632b371fd4f9 (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;