Atsushi Nemoto 23f42b7b2e serial: fix serial_txx9 console initialization
Since commit 97d97224ff361e08777fb33e0fd193ca877dac28 ("[SERIAL] Fix
console initialisation ordering"), serial_core calls ->pm() on
initialization even if the port was used for console.

This behaviour breaks serial_txx9 console since The serial_txx9 driver
initialize its port entirely on its ->pm() method if new state was 0.
This patch adds checking for oldstate value to fix this probelm.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-30 08:06:55 -07:00
..
2007-10-17 08:42:52 -07:00
2007-10-16 09:42:50 -07:00
2007-10-19 11:53:42 -07:00
2007-10-10 16:47:58 +08:00
2007-10-19 11:53:41 -07:00
2007-07-16 09:05:42 -07:00
2007-07-18 08:38:22 -07:00
2007-09-11 17:21:19 -07:00
2007-09-21 11:57:49 +09:00
2007-09-25 22:49:37 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00