Loading drivers/scsi/ufs/ufshcd.c +1 −2 Original line number Diff line number Diff line Loading @@ -5230,6 +5230,7 @@ static int ufshcd_link_recovery(struct ufs_hba *hba) */ hba->ufshcd_state = UFSHCD_STATE_ERROR; hba->force_host_reset = true; ufshcd_set_eh_in_progress(hba); schedule_work(&hba->eh_work); /* wait for the reset work to finish */ Loading Loading @@ -6984,8 +6985,6 @@ static void ufshcd_err_handler(struct work_struct *work) * process of gating when the err handler runs. */ if (unlikely((hba->clk_gating.state != CLKS_ON) && (hba->clk_gating.state == REQ_CLKS_OFF && ufshcd_is_link_hibern8(hba)) && ufshcd_is_auto_hibern8_supported(hba) && hba->hibern8_on_idle.is_enabled)) { spin_unlock_irqrestore(hba->host->host_lock, flags); Loading Loading
drivers/scsi/ufs/ufshcd.c +1 −2 Original line number Diff line number Diff line Loading @@ -5230,6 +5230,7 @@ static int ufshcd_link_recovery(struct ufs_hba *hba) */ hba->ufshcd_state = UFSHCD_STATE_ERROR; hba->force_host_reset = true; ufshcd_set_eh_in_progress(hba); schedule_work(&hba->eh_work); /* wait for the reset work to finish */ Loading Loading @@ -6984,8 +6985,6 @@ static void ufshcd_err_handler(struct work_struct *work) * process of gating when the err handler runs. */ if (unlikely((hba->clk_gating.state != CLKS_ON) && (hba->clk_gating.state == REQ_CLKS_OFF && ufshcd_is_link_hibern8(hba)) && ufshcd_is_auto_hibern8_supported(hba) && hba->hibern8_on_idle.is_enabled)) { spin_unlock_irqrestore(hba->host->host_lock, flags); Loading