Loading drivers/scsi/ufs/ufshcd.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2244,12 +2244,12 @@ int ufshcd_hold(struct ufs_hba *hba, bool async) * work and to enable clocks. * work and to enable clocks. */ */ case CLKS_OFF: case CLKS_OFF: ufshcd_scsi_block_requests(hba); hba->clk_gating.state = REQ_CLKS_ON; hba->clk_gating.state = REQ_CLKS_ON; trace_ufshcd_clk_gating(dev_name(hba->dev), trace_ufshcd_clk_gating(dev_name(hba->dev), hba->clk_gating.state); hba->clk_gating.state); queue_work(hba->clk_gating.clk_gating_workq, if (queue_work(hba->clk_gating.clk_gating_workq, &hba->clk_gating.ungate_work); &hba->clk_gating.ungate_work)) ufshcd_scsi_block_requests(hba); /* /* * fall through to check if we should wait for this * fall through to check if we should wait for this * work to be done or not. * work to be done or not. Loading Loading
drivers/scsi/ufs/ufshcd.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2244,12 +2244,12 @@ int ufshcd_hold(struct ufs_hba *hba, bool async) * work and to enable clocks. * work and to enable clocks. */ */ case CLKS_OFF: case CLKS_OFF: ufshcd_scsi_block_requests(hba); hba->clk_gating.state = REQ_CLKS_ON; hba->clk_gating.state = REQ_CLKS_ON; trace_ufshcd_clk_gating(dev_name(hba->dev), trace_ufshcd_clk_gating(dev_name(hba->dev), hba->clk_gating.state); hba->clk_gating.state); queue_work(hba->clk_gating.clk_gating_workq, if (queue_work(hba->clk_gating.clk_gating_workq, &hba->clk_gating.ungate_work); &hba->clk_gating.ungate_work)) ufshcd_scsi_block_requests(hba); /* /* * fall through to check if we should wait for this * fall through to check if we should wait for this * work to be done or not. * work to be done or not. Loading