diff options
author | Peter Chen <peter.chen@freescale.com> | 2012-08-14 15:37:42 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 22:55:43 -0500 |
commit | 0ce1ef4ff6ceefe82dd0820d7bd4f66f5aec10ce (patch) | |
tree | 5fe225f4a311e1d339e0bd55756ee51723b4e07a /include | |
parent | 1a52cebb7cb2f1676c316a7cd1cada282ea243bc (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.h | 1 |
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 */ |