usb: musb: Disable interrupts on suspend, enable them on resume
authorPascal Huerst <pascal.huerst@gmail.com>
Thu, 3 Sep 2015 08:50:58 +0000 (10:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 14 Sep 2015 15:14:53 +0000 (10:14 -0500)
commit6fc6f4b87cb32fcd0bf5e5bce434301958a3b624
treec92e3127061a31e64bad10b096a013fe02e54d5a
parent6527cc27761a124de8c08e6488ce17fdcc74dbba
usb: musb: Disable interrupts on suspend, enable them on resume

In certain situations, an interrupt triggers on resume, before musb_start()
has been called. This has been observed to cause enumeration issues after
suspend/resume cycles with AM335x.

Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c