aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorErwan Le Ray <[email protected]>2021-03-04 17:23:01 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:34:10 +0100
commit12761869f0efa524348e2ae31827fd52eebf3f0d (patch)
treeb245931290011257006ed424bed902abe2566be5 /tools/perf/scripts/python/export-to-postgresql.py
parentad7676812437a00a4c6be155fc17926069f99084 (diff)
serial: stm32: fix wake-up flag handling
This patch fixes several issue with wake-up handling: - the WUF irq is handled several times at wake-up - the USART is disabled / enabled at suspend to set wake-up flag. It can cause glitches during RX. This patch fix those issues: - clear wake-up flag and disable wake-up irq in WUF irq handling - enable wake-up from low power on start bit detection at port configuration - Unmask the wake-up flag irq at suspend and mask it at resume In addition, pm_wakeup_event handling is moved from receice_chars to WUF irq handling. Fixes: 270e5a74fe4c ("serial: stm32: add wakeup mechanism") Signed-off-by: Erwan Le Ray <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions