Revert "sh-sci / PM: Use power.irq_safe"
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Fri, 16 Nov 2012 01:51:01 +0000 (10:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 02:02:04 +0000 (18:02 -0800)
This reverts commit 5a50a01bf0 (sh-sci / PM: Use power.irq_safe, from
Rafael J. Wysocki <rjw@sisk.pl>, 2011-08-24).

In order to get console PM work properly, we should implement uart_ops
->pm() operation, rather than sprinkle band-ading runtime PM calls in
the driver.

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

index 3d27f4978dd904ab17a7cb95c3d183810ede11f9..fcac1360c783b913ef49c0703ae63949a6262f08 100644 (file)
@@ -2117,7 +2117,6 @@ static int __devinit sci_init_single(struct platform_device *dev,
 
                sci_init_gpios(sci_port);
 
-               pm_runtime_irq_safe(&dev->dev);
                pm_runtime_enable(&dev->dev);
        }