usb: musb: core: Disable the Interrupts till BABBLE is fully handled
authorGeorge Cherian <george.cherian@ti.com>
Fri, 14 Nov 2014 08:24:46 +0000 (13:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Nov 2014 15:55:31 +0000 (09:55 -0600)
commitf905bc68833b37b2274dc269fd35edb19e67aed7
treecd18f9829ac8dc22fa94962d498ee863a04e89f7
parent1eec34e9f25664cf71e05321329d128e0565beae
usb: musb: core: Disable the Interrupts till BABBLE is fully handled

Disable the MUSB interrupts till MUSB is recovered fully from BABBLE
condition. There are chances that we could get multiple interrupts
till the time the babble recover work gets scheduled. Sometimes
this could even end up in an endless loop making MUSB itself unusable.

Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c