aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-05-14 02:23:04 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-05-14 02:23:04 +0200
commit60d4553bdc1a0099adb544e12cafd7bbc7f1d484 (patch)
treec4ef46914be48152938d27899b72ebcfd5f9bb33 /drivers/rtc
parentACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle (diff)
downloadlinux-dev-60d4553bdc1a0099adb544e12cafd7bbc7f1d484.tar.xz
linux-dev-60d4553bdc1a0099adb544e12cafd7bbc7f1d484.zip
PM / wakeup: Fix up wakeup_source_report_event()
Commit 8a537ece3d94 (PM / wakeup: Integrate mechanism to abort transitions in progress) modified wakeup_source_report_event() and wakeup_source_activate() to make it possible to call pm_system_wakeup() from the latter if so indicated by the caller of the former (via a new function argument added by that commit), but it overlooked the fact that in some situations wakeup_source_report_event() is called to signal a "hard" event (ie. such that should abort a system suspend in progress) after pm_stay_awake() has been called for the same wakeup source object, in which case the pm_system_wakeup() will not trigger. To work around this issue, modify wakeup_source_activate() and wakeup_source_report_event() again so that pm_system_wakeup() is called by the latter directly (if its last argument is true), in which case the additional argument does not need to be passed to wakeup_source_activate() any more, so drop it from there. Fixes: 8a537ece3d94 (PM / wakeup: Integrate mechanism to abort transitions in progress) Reported-by: David E. Box <david.e.box@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions