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:51:19 +0800 |
commit | 1e54cdcdb6940a58d5e09174410fe0fe28041fa3 (patch) | |
tree | 18eb9fb1962c86b658931994c4f41b4b82e7758e | |
parent | e9d2ee66faef002a10f3e5540bcff5939215f7cf (diff) |
ENGR00174734-3 usb: change function name for discharge data linerel_imx_3.0.15_12.02.013.0-imx6-12.02.01-201202221138
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>
-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 e96cca48cbf8..63c4407fc51f 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; |