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:Neeraj Soni <neersoni@codeaurora.org>
Loading
Please register or sign in to comment