]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: also set the uartclk value in resume after goes to highspeed
authorYin Kangkai <kangkai.yin@linux.intel.com>
Wed, 9 Feb 2011 03:34:20 +0000 (11:34 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:03:45 +0000 (13:03 -0700)
commit102965a0c525751b781021eed046ada76e65475b
treed8e1927235a46c05b1d7e9a94b96eca11cf68412
parentffe6f167d5ee3d799c090a05cef0b5013fbebb44
serial: also set the uartclk value in resume after goes to highspeed

commit 95926d2db6256e08d06b753752a0d903a0580acc upstream.

For any reason if the NS16550A was not work in high speed mode (e.g. we hold
NS16550A from going to high speed mode in autoconfig_16550a()), now we are
resume from suspend, we should also set the uartclk to the correct
value. Otherwise it is still the old 1843200 and that will bring issues.

CC: Greg Kroah-Hartman <greg@kroah.com>
CC: David Woodhouse <dwmw2@infradead.org>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Yin Kangkai <kangkai.yin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c