]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sirf: provide pm entries of uart_ops
authorQipan Li <Qipan.Li@csr.com>
Fri, 3 Jan 2014 07:44:07 +0000 (15:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 01:09:04 +0000 (17:09 -0800)
commit7c1305b2080a5b8019df0c83119118a81214a345
tree30369709d7115a7d53663a66a25674e06ce032f8
parent7548556ab0c12ba5a97dc0a6abb628dd78a25d2e
serial: sirf: provide pm entries of uart_ops

this patch provides PM entry of uart_ops, then drop clk enable and
disable because serial core will do it.

the patch also fixes the issue that uart hang in resume caused by
not-enabled clock.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c