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

Skip to content
Commit c2aa37d7 authored by Neeraj Soni's avatar Neeraj Soni Committed by Ramandeep Trehan
Browse files

scsi: ufs: release spinlock and fix workqueue allocation



This fixes synchronization issue introduced with
commit b557a6117a2b
("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 592d003a
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