Skip to content

Commit

Permalink
HSI: omap_ssi: drop pm_runtime_irq_safe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Reichel committed Jun 27, 2016
1 parent ad60db2 commit 9c99e5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/hsi/controllers/omap_ssi_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions drivers/hsi/controllers/omap_ssi_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9c99e5e

Please sign in to comment.