summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/hcd.c
diff options
context:
space:
mode:
authorGregory Herrero <gregory.herrero@intel.com>2015-09-22 15:16:49 +0200
committerFelipe Balbi <balbi@ti.com>2015-10-01 19:40:17 +0200
commitcad73da26cb9392db3449ab35e506ea13efd1888 (patch)
tree411e20bd135d8d2a3fad658390f68d7aceb7acb5 /drivers/usb/dwc2/hcd.c
parentusb: dwc2: host: disable interrupt during stop (diff)
downloadlinux-cad73da26cb9392db3449ab35e506ea13efd1888.tar.xz
linux-cad73da26cb9392db3449ab35e506ea13efd1888.zip
usb: dwc2: host: clear pending interrupts prior hibernation
If an interrupt rises during hibernation process, dwc2 will assert interrupt line to interrupt controller. If interrupt is level sensitive, interrupt handler will be called in a loop because dwc2 will not be able to clear it while controller is hibernated. Thus, clear all controller interrupts before hibernation entry. 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>
Diffstat (limited to 'drivers/usb/dwc2/hcd.c')
0 files changed, 0 insertions, 0 deletions