USB: musb: minor locking fix
authorDavid Brownell <[email protected]>
Mon, 24 Nov 2008 11:06:49 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <[email protected]>
Wed, 7 Jan 2009 17:59:59 +0000 (09:59 -0800)
commit71783e0defa16ca5abca7750df98ff8e7767bd2e
tree3e4180012869e613bea9a6175bd8423287218604
parent58e660266d92aaa186c3df607c0ee88f18c8f4da
USB: musb: minor locking fix

Minor locking fix for musb_hdrc on OMAP3 and OMAP2430:
don't read DEVCTL without holding the spinlock, since
an IRQ could come in and corrupt things.

Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/musb/omap2430.c