summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-08-14 15:37:42 +0800
committerPeter Chen <peter.chen@freescale.com>2012-08-16 17:44:47 +0800
commit4c22c9922e81904410d8f97065a267dee7b99380 (patch)
treebb2fac08dcf0323cbf04e994eed70727a1728af8 /include
parent48a6870d87a5cf436e30e5ec8aa84716791f0572 (diff)
ENGR00220341-3 usb: add spin_lock at platform data
It is used to sync pdata->lowpower between wakeup interrupt and driver API. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 8c41b237fc83..2a9557307643 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -144,6 +144,7 @@ struct fsl_usb2_platform_data {
unsigned irq_delay:1;
enum usb_wakeup_event wakeup_event;
u32 pmflags; /* PM from otg or system */
+ spinlock_t lock;
void __iomem *charger_base_addr; /* used for i.mx6 usb charger detect */