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)
commit388faf9ffdaf92c81243514a2dd4c6ce04d28874
tree30369709d7115a7d53663a66a25674e06ce032f8
parent99e626f50477e3b14c9be43892c33ab75b2e5bf9
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