diff options
author | Geert Uytterhoeven <[email protected]> | 2018-03-29 18:53:32 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2018-04-04 11:24:05 +0530 |
commit | 73dcc666d6bd0db56cd556010f93d8f04c1cc70c (patch) | |
tree | 77582c98745098f472ad7578b28ca044b61e16ef /scripts/gdb/linux/symbols.py | |
parent | 3e081628d510b2ddbe493371d9c574d9275da17e (diff) |
dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks
If serial console wake-up is enabled ("echo enabled >
/sys/.../ttySC0/power/wakeup"), and any serial input is received while
the system is suspended, serial port input no longer works after system
resume.
Note that:
1) The system can still be woken up using the serial console,
2) Serial port input keeps working if the system is woken up in some
other way (e.g. Wake-on-LAN or gpio-keys), and no serial input was
received while suspended.
To fix this, replace SET_LATE_SYSTEM_SLEEP_PM_OPS() by
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(), as the callbacks installed by the
former happen too early resp. late in the suspend resp. resume process.
Reported-by: RVC test team via Yoshihiro Shimoda <[email protected]>
Fixes: 1131b0a4af911de5 ("dmaengine: rcar-dmac: Make DMAC reinit during system resume explicit")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions