projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1110c
)
ENGR00176061-2 usb: otg: add discharge vbus flag
author
Peter Chen
<peter.chen@freescale.com>
Tue, 6 Mar 2012 03:11:45 +0000
(11:11 +0800)
committer
Peter Chen
<peter.chen@freescale.com>
Wed, 7 Mar 2012 07:01:35 +0000
(15:01 +0800)
Add discharge vbus flag
Signed-off-by: Peter Chen <peter.chen@freescale.com>
include/linux/fsl_devices.h
patch
|
blob
|
history
diff --git
a/include/linux/fsl_devices.h
b/include/linux/fsl_devices.h
index 72544b3d674466f1336ad7c7a790c0c36a40de6f..dd9549213ed5fcdb757e76fb03e7483c163e981f 100644
(file)
--- 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;