summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250_omap.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-03-09 14:05:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 22:21:08 +0100
commitf01a0bd8921b9d6668d41fae3198970e6318f532 (patch)
tree6ab966e61fa6ba9963d5442b8bc56b653603bbd8 /drivers/tty/serial/8250/8250_omap.c
parent509cb7dc07cc03c28c7995a9213a605c04675a58 (diff)
downloadop-kernel-dev-f01a0bd8921b9d6668d41fae3198970e6318f532.zip
op-kernel-dev-f01a0bd8921b9d6668d41fae3198970e6318f532.tar.gz
serial: 8250: Check UART_SCR is writable
Au1x00/RT2800+ doesn't implement the 8250 scratch register (and this may be true of other h/w currently supported by the 8250 driver); read back the canary value written to the scratch register to enable the console h/w restart after resume from system suspend. Fixes: 4516d50aabedb ("serial: 8250: Use canary to restart console ...") Reported-by: Mason <slash.tmp@free.fr> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_omap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud