Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e77f22c4 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Dont send abort command to w-luns"

parents bd58d90c 160c7573
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -7696,7 +7696,10 @@ static int ufshcd_abort(struct scsi_cmnd *cmd)
	 * To avoid these unnecessary/illegal step we skip to the last error
	 * handling stage: reset and restore.
	 */
	if (lrbp->lun == UFS_UPIU_UFS_DEVICE_WLUN)
	if ((lrbp->lun == UFS_UPIU_UFS_DEVICE_WLUN) ||
	    (lrbp->lun == UFS_UPIU_REPORT_LUNS_WLUN) ||
	    (lrbp->lun == UFS_UPIU_BOOT_WLUN) ||
	    (lrbp->lun == UFS_UPIU_RPMB_WLUN))
		return ufshcd_eh_host_reset_handler(cmd);

	ufshcd_hold_all(hba);