Partially revert "serial: sh-sci: console Runtime PM support"
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Fri, 16 Nov 2012 01:51:24 +0000 (10:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 02:02:36 +0000 (18:02 -0800)
commit00cadbfd1e73fb9951da7d2358c39b561c017ea3
tree3cbad8d7f74a7a56a329fbb947f622b9674ca46f
parent8807ec6c707802cabadc0fe1b035ffefa27f1719
Partially revert "serial: sh-sci: console Runtime PM support"

This partially reverts commit 1ba7622094 (serial: sh-sci: console
Runtime PM support, from Magnus Damm <damm@opensource.se>, 2011-08-03).

The generic 'serial_core' can take care of console PM maintenance,
so all (or at least the first thing) we have to do to get console PM
work properly, is to implement uart_ops ->pm() operation in the sh-sci
serial client driver.

This patch partially reverts the commit above, but leaving sci_reset()
change in place, because sci_reset() is already part of another commit
(73c3d53f38 serial: sh-sci: Avoid FIFO clear for MCE toggle.).

A revised version of console PM support follows next.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c