usb: dwc2: host: disable interrupt during stop
commit5bbf6ce0a964c77d9522cf377fd7a4c4af030378
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 22 Sep 2015 13:16:48 +0000 (22 15:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:17 +0000 (1 12:40 -0500)
tree935982cb570db26a681c0ab518d7d6228a6123d0
parent77dbf7138d59994d50b7875deb24992f51b811b5
usb: dwc2: host: disable interrupt during stop

Disable host interrupts before synchronising dwc2 irq.
So that interrupts are not generated once controller is stopped.

Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/hcd.c