commit | 4f4c5e36e7cd26c9b5bf89d66caeee5fc3d75362 | [log] [tgz] |
---|---|---|
author | Harro Haan <hrhaan@gmail.com> | Mon Mar 01 18:01:56 2010 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jun 16 23:00:00 2010 +0100 |
tree | 55a751f86e75d5f8e59b9a0dc610e701dba74917 | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 [diff] [blame] |
ARM: 5967/1: at91_udc.c use spinlocks instead of local_irq_xxx The locking code of this driver is reworked for preempt-rt. For more info see: http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/09cdb3b4/attachment.el http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/3ad44e30/attachment.el First applied: "at91_udc HW glitch" http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5966/1 Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Harro Haan <hrhaan@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/drivers/usb/gadget/at91_udc.h b/drivers/usb/gadget/at91_udc.h index c65d622..bc76a39 100644 --- a/drivers/usb/gadget/at91_udc.h +++ b/drivers/usb/gadget/at91_udc.h
@@ -144,6 +144,7 @@ struct proc_dir_entry *pde; void __iomem *udp_baseaddr; int udp_irq; + spinlock_t lock; }; static inline struct at91_udc *to_udc(struct usb_gadget *g)