Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2137663 authored by Ian Chard's avatar Ian Chard Committed by Greg Kroah-Hartman
Browse files

staging: ccree: remove extraneous spin_unlock_bh() in error handler



An early error handler in send_request() tries to release a spinlock,
but the lock isn't acquired until the loop below it is entered.

Signed-off-by: default avatarIan Chard <ian@chard.org>
Acked-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f03d95f5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -376,7 +376,6 @@ int send_request(
	rc = ssi_power_mgr_runtime_get(&drvdata->plat_dev->dev);
	if (rc != 0) {
		SSI_LOG_ERR("ssi_power_mgr_runtime_get returned %x\n",rc);
		spin_unlock_bh(&req_mgr_h->hw_lock);
		return rc;
	}
#endif