diff options
author | Stephen Boyd <[email protected]> | 2020-10-30 16:25:23 -0700 |
---|---|---|
committer | Enric Balletbo i Serra <[email protected]> | 2020-11-12 21:24:04 +0100 |
commit | 853c1a789f5fe8e783586a5c2dcc2ad1b57ac20f (patch) | |
tree | 308b622ec6aae68c3401738569d1b6003937cad8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) |
platform/chrome: Don't treat RTC events as wakeup sources
The EC sends an RTC host event when the RTC fires, but we don't need to
treat that as a wakeup event here. The RTC class already properly
handles activating and deactivating a wakeup source in rtc_update_irq()
by calling pm_stay_awake() at the start of processing and pm_relax()
once all expired RTC timers have been processed. This reduces one wakeup
increment but not much else. I noticed this while debugging RTC wakeups
and how they always incremented the wakeup count by two instead of one
because this is duplicated.
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions