ARM: 5966/1: at91_udc HW glitch
authorHarro Haan <hrhaan@gmail.com>
Mon, 1 Mar 2010 16:54:55 +0000 (17:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 May 2010 08:15:05 +0000 (09:15 +0100)
commit762253741942d8ddbaca1c1ee62d7ed57544332b
tree752b1aa44843cafbbdf953e3d72ab46a88e032cc
parente8faff7330a3501eafc9bfe5f4f15af444be29f5
ARM: 5966/1: at91_udc HW glitch

Add some delay to avoid reading CSR TXCOUNT too early after
updating it.

For more info about this HW glitch see:
http://lists.arm.linux.org.uk/lurker/message/20090325.150843.f515c02f.en.html
http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100129/10ba0f8b/attachment.el
http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/09cdb3b4/attachment.el
http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/08b5b249/attachment.el

First applied: "Fix soft lockup in at91 udc driver"
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5965

Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee>
Signed-off-by: Harro Haan <hrhaan@gmail.com>
Acked-by: Remy Bohmer <linux@bohmer.net>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/gadget/at91_udc.c