Merge "Revert "scsi: ufshcd: Flush exception event before suspend""

This commit is contained in:
Linux Build Service Account 2017-11-22 19:51:21 -08:00 committed by Gerrit - the friendly Code Review server
commit e17b8bfc9c

View file

@ -8760,7 +8760,6 @@ static int ufshcd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
goto enable_gating;
}
flush_work(&hba->eeh_work);
ret = ufshcd_link_state_transition(hba, req_link_state, 1);
if (ret)
goto set_dev_active;