summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony LIU <junjie.liu@freescale.com>2012-03-07 15:57:01 +0800
committerTony LIU <junjie.liu@freescale.com>2012-03-21 09:59:54 +0800
commita2c95643c13ded55b4919c0aac1c5990842e5689 (patch)
tree8a4085db0492b3b5eea7e70bfaec782ad337bb29
parenta6cbe35a5d2ea61fa12ee5ccc4b89bab0563aebe (diff)
ENGR00176299-3 usb host suspend/resume can't work randomly
head file part Signed-off-by: Tony LIU <junjie.liu@freescale.com>
-rw-r--r--include/linux/fsl_devices.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 5b701a8c12f8..ba66c938ae0a 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -132,6 +132,9 @@ struct fsl_usb2_platform_data {
void (*dr_discharge_line) (bool);
/* only set it when vbus lower very slow during OTG switch */
bool need_discharge_vbus;
+ void (*platform_rh_suspend)(struct fsl_usb2_platform_data *);
+ void (*platform_rh_resume)(struct fsl_usb2_platform_data *);
+ void (*platform_set_disconnect_det)(struct fsl_usb2_platform_data *, bool);
struct fsl_usb2_wakeup_platform_data *wakeup_pdata;
struct platform_device *pdev;