]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: clear the Blackfin interrupt pending bits early in the ISR
authorCliff Cai <cliff.cai@analog.com>
Mon, 16 Nov 2009 10:49:26 +0000 (16:19 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:24 +0000 (11:55 -0800)
commit8fd67a5dc0dd080f691dd8aff212ec0e5d66848f
tree0ce38b2a5eb23bf1d7efd54494a9f617a1add84b
parent76e6d1df736dff87cd50eb5cc4492586a6e6bef0
USB: musb: clear the Blackfin interrupt pending bits early in the ISR

If we clear the interrupt pending bits at the end, we sometimes return too
fast and have the same interrupt assert itself.  There is no way in a
Blackfin system to force a sync of this state, so the hardware manual
instructs people to clear interrupt flags early in their ISR.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musbhsdma.c