From: Roger Quadros Date: Tue, 7 Oct 2014 14:40:57 +0000 (-0500) Subject: Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete" X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01ff5cb2fc99d45e4edc97077b6e17186570a16;p=pandora-kernel.git Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete" This reverts commit 02dae36aa649a66c5c6181157ddd806e7b4913fc. That commit is bogus in two ways: 1) There's no way dwc3-omap's ->suspend() can cause any effect on xhci's ->suspend(). Linux device driver model guarantees that a parent's ->suspend() will only be called after all children are suspended. dwc3-omap is the parent of the parent of xhci. 2) When implementing Deep Sleep states where context is lost, USBOTGSS_IRQ0 register, well, looses context so we _must_ rewrite it otherwise core IRQs will never be reenabled and USB will appear to be dead. Fixes: 02dae36 (usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete) Cc: # v3.17 Cc: George Cherian Signed-off-by: Roger Quadros Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed