]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/usb/musb/musbhsdma.c
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)
commit6bd03e7b9d0f70928f9cd793326c28e4e08ffc96
tree0ce38b2a5eb23bf1d7efd54494a9f617a1add84b
parent2002e7684dc24a9ac245b7d015380918657ec032
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