From: Shinya Kuribayashi Date: Fri, 16 Nov 2012 01:51:01 +0000 (+0900) Subject: Revert "sh-sci / PM: Use power.irq_safe" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8807ec6c707802cabadc0fe1b035ffefa27f1719;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Revert "sh-sci / PM: Use power.irq_safe" This reverts commit 5a50a01bf0 (sh-sci / PM: Use power.irq_safe, from Rafael J. Wysocki , 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 3d27f4978dd9..fcac1360c783 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/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); }