This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/usb/host
Jack Pham 0fbff904b8 usb: ehci-msm-hsic: abort suspend when interrupts are pending
Since the wakelock was removed, an interrupt coming during the
transition to system suspend relies on pm_stay_awake() to indicate
that the controller's wakeup source is now active. However, this
depends on pm_save_wakeup_count() to be called by the process
that initiated the suspend. The forthcoming autosleep feature will
be doing this.

But until autosleep is implemented, for robustness additionally
introduce a .suspend_noirq callback which checks for pending
interrupts and returns -EBUSY if there are any, which will force
the PM core to unwind its suspend actions.

Change-Id: If286d654b667d00a0130accb7a783258901ff760
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2013-02-27 18:21:14 -08:00
..
2011-12-08 09:38:53 -08:00
2011-09-18 01:39:36 -07:00
2012-02-24 13:40:04 -08:00
2011-11-26 19:46:48 -08:00
2011-10-18 13:51:34 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-02-13 14:32:34 -08:00
2011-03-31 11:26:23 -03:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00