David Woodhouse b5b82df6f4 NS16550A: Restore HS settings in EXCR2 on resume
After a suspend/resume cycle, the UART may have been reset into
low-speed mode -- either because it's actually been reset, or because
the firmware pokes at the old-style divisor registers. If we detected it
as a NS16550A SuperIO chip in the first place and set baud_base to
921600, then we should do so again in the resume path.

This patch adds that code to serial8250_resume_port(), and also makes
serial8250_resume() actually call serial8250_resume_port() for each port
instead of just calling uart_resume_port() directly. And thus fixes
serial port operation after suspend/resume.

It also fixes a bogus comment where we write the EXCR2 register with a
comment saying /* EXCR1 */

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-17 05:25:49 -07:00
..
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-05-07 12:12:58 -07:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2006-12-07 08:39:41 -08:00
2005-04-16 15:20:36 -07:00
2007-05-11 22:02:52 +01:00
2006-12-08 08:28:57 -08:00
2007-05-11 22:02:52 +01:00
2007-05-07 12:12:50 -07:00
2006-12-08 08:28:57 -08:00
2007-05-08 13:37:51 +10:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-05-07 02:10:54 +00:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00