diff options
author | Peter Chen <peter.chen@freescale.com> | 2012-02-22 11:38:55 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2012-02-22 14:43:19 +0800 |
commit | dd0865478bf5163cc3dc3485666916afc6233c4c (patch) | |
tree | 64a265dee0d33152107310431638f71eff792ce1 /include | |
parent | 0e22504776dbb5fcb3550e8888076c6f68b205c9 (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.h | 7 |
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; |