aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hsi/controllers/omap_ssi_core.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2016-04-30 16:34:43 +0200
committerSebastian Reichel <sre@kernel.org>2016-06-28 00:38:43 +0200
commitcb70e4c1bc96604953f5792f71ba9ba104705154 (patch)
tree20dee59d8796247c6d5baf64441c6a046f407a55 /drivers/hsi/controllers/omap_ssi_core.c
parentHSI: ssi_protocol: fix ssip_xmit invocation (diff)
downloadlinux-dev-cb70e4c1bc96604953f5792f71ba9ba104705154.tar.xz
linux-dev-cb70e4c1bc96604953f5792f71ba9ba104705154.zip
HSI: omap_ssi: convert cawake irq handler to thread
Convert cawake interrupt handler from tasklet to threaded interrupt handler in preparation of blocking runtime_pm calls. Signed-off-by: Sebastian Reichel <sre@kernel.org> Tested-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/hsi/controllers/omap_ssi_core.c')
-rw-r--r--drivers/hsi/controllers/omap_ssi_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c
index 54943e439488..a463420a0810 100644
--- a/drivers/hsi/controllers/omap_ssi_core.c
+++ b/drivers/hsi/controllers/omap_ssi_core.c
@@ -312,7 +312,7 @@ static int ssi_clk_event(struct notifier_block *nb, unsigned long event,
continue;
/* Workaround for SWBREAK + CAwake down race in CMT */
- tasklet_disable(&omap_port->wake_tasklet);
+ disable_irq(omap_port->wake_irq);
/* stop all ssi communication */
pinctrl_pm_select_idle_state(omap_port->pdev);
@@ -338,7 +338,7 @@ static int ssi_clk_event(struct notifier_block *nb, unsigned long event,
/* resume ssi communication */
pinctrl_pm_select_default_state(omap_port->pdev);
- tasklet_enable(&omap_port->wake_tasklet);
+ enable_irq(omap_port->wake_irq);
}
break;