From: Atsushi Nemoto Date: Mon, 29 Oct 2007 21:37:23 +0000 (-0700) Subject: serial: fix serial_txx9 console initialization X-Git-Tag: v2.6.24-rc2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f42b7b2e538a27bc457a9ba12a6656343dc5ea;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed