Revert "scsi: ufs: fix exception event handling"

This reverts commit 62413bacaf.

This is a preparaion change for android-4.9.117 merge into msm-4.9.

Delta added by reverted change was already applied and further
modified. Here is the trace:

  [msm-4.9] cce6fbc ufs: snapshot of UFS driver
  [msm-4.4] ^--33ec44f cfg80211: Advertise extended capabilities per interface type to userspace
               00d5062 scsi: ufs: add reference counting for scsi block requests
               2ab0dfa scsi: ufs: fix exception event handling

Change-Id: Ieb87b4d47e3f8d83122688e85112d8d9ef67e5eb
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
This commit is contained in:
Blagovest Kolenichev 2018-10-30 05:22:33 -07:00
commit abd5d18bc5

View file

@ -4041,7 +4041,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work)
hba = container_of(work, struct ufs_hba, eeh_work);
pm_runtime_get_sync(hba->dev);
scsi_block_requests(hba->host);
err = ufshcd_get_ee_status(hba, &status);
if (err) {
dev_err(hba->dev, "%s: failed to get exception status %d\n",
@ -4055,7 +4054,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work)
ufshcd_bkops_exception_event_handler(hba);
out:
scsi_unblock_requests(hba->host);
pm_runtime_put_sync(hba->dev);
return;
}