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

Skip to content
Commit 39209448 authored by Neeraj Soni's avatar Neeraj Soni
Browse files

scsi: ufs: release spinlock and fix workqueue allocation



This fixes synchronization bug introduced with
commit b557a611
("scsi: ufs: ice: propagate memeory allocation failure error")
Also in low end ufs targets crypto engine is initialized in
every resume operation. This will endup allocating memory
for crypto worker queue in every resume. Check for queue pointer
before allocating the memory for work queue.

Change-Id: I919a6cbfc418de335e797d4fd724cd3c63bace55
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
parent 3dbf9e42
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