diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-07-26 14:47:23 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-08-11 00:01:09 +0200 |
commit | 380030020f1655d86db8400afc4a8045901d44fe (patch) | |
tree | aa6405e0867184b6ff251f7e793285441e51f631 | |
parent | 094137c360704a4f54853232c25e16d0b375af63 (diff) | |
download | linux-380030020f1655d86db8400afc4a8045901d44fe.tar.bz2 |
do not hold spin_lock_bh while pm_runtime_put_sync
-rw-r--r-- | drivers/hsi/controllers/omap_ssi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hsi/controllers/omap_ssi.c b/drivers/hsi/controllers/omap_ssi.c index 45192b480ab7..96a816bfe371 100644 --- a/drivers/hsi/controllers/omap_ssi.c +++ b/drivers/hsi/controllers/omap_ssi.c @@ -332,7 +332,11 @@ static void ssi_clk_disable(struct hsi_controller *ssi) ssi_for_each_port(ssi, NULL, ssi_save_port_ctx); + spin_unlock_bh(&omap_ssi->ck_lock); + pm_runtime_put_sync(pdev); + return; + out: spin_unlock_bh(&omap_ssi->ck_lock); } |