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

Commit 46099b4d authored by Gilad Broner's avatar Gilad Broner
Browse files

scsi: ufs: fix spinlock recursion in ufshcd_queuecommand()



Before calling ufshcd_send_command() the host spinlock is taken.
In case error is returned ufshcd_release_all() is called, which
in turn attempts to lock the host spinlock again.
Unlocked the host spinlock in case error was returned to
prevent the spinlock recursion.

Change-Id: I630ac8b901f03285a37547bfbcd49ec575e7545a
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent 88ada96a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment