summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-03-06 11:11:45 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:23:47 +0800
commit0620bfa4b059c78700e41d368e3deadf496ef0a0 (patch)
tree7a09ad427d9e08d710bf5d4660643a052f493f98 /include
parent680238eba021669ed72761578da99c74cb36373d (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;