diff options
author | Sebastian Reichel <sre@kernel.org> | 2016-06-17 22:38:36 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-06-28 00:40:08 +0200 |
commit | 9c99e5e51988798af2a687ef9b1716dd79388550 (patch) | |
tree | cddc83bfabae43febe5c4a79c0477c5983ee4204 /drivers/hsi | |
parent | ad60db2f9fe3367e60a21fc0afe19999516f8b27 (diff) | |
download | lwn-9c99e5e51988798af2a687ef9b1716dd79388550.tar.gz lwn-9c99e5e51988798af2a687ef9b1716dd79388550.zip |
HSI: omap_ssi: drop pm_runtime_irq_safe
pm_runtime_irq_safe increases the parents runtime usage
counter effectively keeping the OMAP SoC from idling.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/hsi')
-rw-r--r-- | drivers/hsi/controllers/omap_ssi_core.c | 1 | ||||
-rw-r--r-- | drivers/hsi/controllers/omap_ssi_port.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c index 506a9f1ef7ad..9a29b34ed2c8 100644 --- a/drivers/hsi/controllers/omap_ssi_core.c +++ b/drivers/hsi/controllers/omap_ssi_core.c @@ -543,7 +543,6 @@ static int ssi_probe(struct platform_device *pd) if (err < 0) goto out1; - pm_runtime_irq_safe(&pd->dev); pm_runtime_enable(&pd->dev); err = ssi_hw_init(ssi); diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c index f95efabc27b0..7765de2f1ef1 100644 --- a/drivers/hsi/controllers/omap_ssi_port.c +++ b/drivers/hsi/controllers/omap_ssi_port.c @@ -1236,8 +1236,6 @@ static int ssi_port_probe(struct platform_device *pd) spin_lock_init(&omap_port->wk_lock); omap_port->dev = &port->device; - pm_runtime_irq_safe(omap_port->pdev); - pm_runtime_use_autosuspend(omap_port->pdev); pm_runtime_set_autosuspend_delay(omap_port->pdev, 250); pm_runtime_enable(omap_port->pdev); |