]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita736ca6fdad2922b78ae7f43b77b5fe4ef7ec060
treec92e3127061a31e64bad10b096a013fe02e54d5a
parentbe51adb2e2b66d3be90a65b9158f31f3147df13a
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