HSI: omap_ssi_port: prepare start_tx/stop_tx for blocking pm_runtime calls
authorSebastian Reichel <sre@kernel.org>
Wed, 11 May 2016 18:33:45 +0000 (20:33 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 27 Jun 2016 22:39:15 +0000 (00:39 +0200)
commit7c5d81620ecd37702e86232de819eb1dd4c738e0
tree6d47fa843b20df8ce67b842f454d07b6cefbde95
parentde5a3774dde2c2f3b3a9a48b880fd820142706f0
HSI: omap_ssi_port: prepare start_tx/stop_tx for blocking pm_runtime calls

ssi_start_tx and ssi_stop_tx may be called from atomic context. Once
pm_runtime_irq_safe() is removed for omap-ssi, this will fail, due
to blocking pm_runtime_*_sync() calls.

This fixes ssi_stop_tx by using non-sync API and ssi_start_tx by
using a worker thread.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
drivers/hsi/controllers/omap_ssi.h
drivers/hsi/controllers/omap_ssi_port.c
This page took 0.026419 seconds and 5 git commands to generate.