diff options
author | Nick Hu <[email protected]> | 2023-08-15 17:02:16 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 15:29:10 +0200 |
commit | 8a6498f2b94333f1793bc912b11830655f975470 (patch) | |
tree | 3cac72e53b231ec38ecf498255cec29bfcf95338 /net/lapb/lapb_timer.c | |
parent | 6a4197f9763325043abf7690a21124a9facbf52e (diff) |
serial: sifive: Add suspend and resume operations
If the Sifive Uart is not used as the wake up source, suspend the uart
before the system enter the suspend state to prevent it woken up by
unexpected uart interrupt. Resume the uart once the system woken up.
Signed-off-by: Nick Hu <[email protected]>
Reviewed-by: Ben Dooks <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions