mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "scsi: ufs: Fix imbalanced scsi_block_reqs_cnt caused by ufshcd_hold()"
This commit is contained in:
commit
ca2935a074
1 changed files with 3 additions and 3 deletions
|
|
@ -1661,12 +1661,12 @@ start:
|
|||
*/
|
||||
/* fallthrough */
|
||||
case CLKS_OFF:
|
||||
ufshcd_scsi_block_requests(hba);
|
||||
hba->clk_gating.state = REQ_CLKS_ON;
|
||||
trace_ufshcd_clk_gating(dev_name(hba->dev),
|
||||
hba->clk_gating.state);
|
||||
queue_work(hba->clk_gating.clk_gating_workq,
|
||||
&hba->clk_gating.ungate_work);
|
||||
if (queue_work(hba->clk_gating.clk_gating_workq,
|
||||
&hba->clk_gating.ungate_work))
|
||||
ufshcd_scsi_block_requests(hba);
|
||||
/*
|
||||
* fall through to check if we should wait for this
|
||||
* work to be done or not.
|
||||
|
|
|
|||
Loading…
Reference in a new issue