summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-08-14 15:37:42 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:51:17 -0700
commitd3455cb800bf99b7fbdf67563050f4221cfdb791 (patch)
tree87691500669b3b0b3908568765f348027d457f9d /include
parent8fa3b5a8993d1bfc2df51c7da04d76628060964d (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 */