Explorar o código

Revert "sh-sci / PM: Use power.irq_safe"

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>
Shinya Kuribayashi %!s(int64=12) %!d(string=hai) anos
pai
achega
8807ec6c70
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/tty/serial/sh-sci.c

+ 0 - 1
drivers/tty/serial/sh-sci.c

@@ -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);
 	}