]> git.baikalelectronics.ru Git - kernel.git/commit
serial: pxa: Do not tweak clock in pxa serial write() function
authorHaojun Bao <hjbao@marvell.com>
Thu, 17 Jan 2013 08:01:51 +0000 (00:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 01:31:24 +0000 (17:31 -0800)
commit99d328d568b88c6866c389124728ceaf0b3888dc
tree25adfb8e34a261391be88aa0f928cf1309a05bab
parent0cce5f799078ad837f9db12cdd9b18501aef3f2f
serial: pxa: Do not tweak clock in pxa serial write() function

The write() function could be used by printk(), which is atomic and
tweaking clock there can cause "BUG: sleeping function called from
invalid context".

Signed-off-by: Bao Haojun <hjbao@marvell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pxa.c