summaryrefslogtreecommitdiffstats
path: root/drivers/tty/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2015-08-11 19:21:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-15 02:23:25 +0200
commitc868cbb7e5c6d3c74b8d38c7c356444f2c807c28 (patch)
tree1ddfcafed92387d2e6a5eb272e938560e1a51d93 /drivers/tty/Kconfig
parentserial: imx: allow waking up on RTSD (diff)
downloadlinux-c868cbb7e5c6d3c74b8d38c7c356444f2c807c28.tar.xz
linux-c868cbb7e5c6d3c74b8d38c7c356444f2c807c28.zip
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 <festevam@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: linux-serial@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/Kconfig')
0 files changed, 0 insertions, 0 deletions