]> 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)
commit7c73ec429f0015c14799d2256d67f64e0f51fa5b
tree25adfb8e34a261391be88aa0f928cf1309a05bab
parentcd63a7a7626450b4d636bc229f542c62c3fa8972
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