From: Peter Hurley Date: Mon, 9 Mar 2015 18:05:01 +0000 (-0400) Subject: serial: 8250: Check UART_SCR is writable X-Git-Tag: omap-for-v4.2/o2_dc~64^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01a0bd8921b9d6668d41fae3198970e6318f532;p=pandora-kernel.git 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 Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed