summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-02-22 11:38:55 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:23:13 +0800
commitfbec3dec341444ba41f42c05d73b23edf3a99922 (patch)
treea83e87b0eab975bcf641c51d03aca08bfdb350ec /include
parentc8d2398f7febf34a64a9c55c68bbab5447983327 (diff)
ENGR00174734-3 usb: change function name for discharge data line
In order to reflect the function well, it needs to discharge both dp and dm, so change the function name. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index f6098fbdf7af..849d4e40db82 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -124,7 +124,12 @@ struct fsl_usb2_platform_data {
void (*wakeup_handler)(struct fsl_usb2_platform_data *);
void (*hsic_post_ops)(void);
void (*hsic_device_connected)(void);
- void (*gadget_discharge_dp) (bool);
+ /*
+ * Some platforms, like i.mx6x needs to discharge dp/dm at device mode
+ * or there is wakeup interrupt caused by dp/dm change when the cable
+ * is disconnected with Host.
+ */
+ void (*dr_discharge_line) (bool);
struct fsl_usb2_wakeup_platform_data *wakeup_pdata;
struct platform_device *pdev;