diff options
author | Eduardo Valentin <[email protected]> | 2015-08-11 10:21:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-08-14 17:23:25 -0700 |
commit | c868cbb7e5c6d3c74b8d38c7c356444f2c807c28 (patch) | |
tree | 1ddfcafed92387d2e6a5eb272e938560e1a51d93 /scripts/gdb/linux/modules.py | |
parent | bc85734b126f813ba46265c2d3a84c8839cb2e54 (diff) |
serial: imx: save and restore context in the suspend path
This change teaches the imx serial driver to save its
context and restore it across suspend and resume path.
To do so, it introduces serial_imx_restore_context()
and serial_imx_save_context() functions. They use
a shadow set of registers to save key registers
and restore them accordingly. These functions can
be reused on other situations, when the device
context is lost.
Cc: Fabio Estevam <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions