]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9a60efa0104d08213d49bd4149abcc5ad6d774c
tree3cbad8d7f74a7a56a329fbb947f622b9674ca46f
parent06396f6ebfbed6236d22c9e0124cfcc9cbb4d4ac
Partially revert "serial: sh-sci: console Runtime PM support"

This partially reverts commit 9b4fc1df74 (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
(3cbdfbcb47 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