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

Commit 0a7aa1af authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 89744adc 862a74ad
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -7090,7 +7090,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);