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

Commit dc7fd35e 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: Enable quirk to ignore sending WRITE_SAME command"

parents f1de61ef 0a93fe63
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2445,6 +2445,9 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev)
	/* try read capactiy (10) first as rc_16 is optional in UFS spec. */
	sdev->try_rc_10_first = 1;

	/* WRITE_SAME command is not supported*/
	sdev->no_write_same = 1;

	ret = ufshcd_read_unit_desc_param(hba,
					  ufshcd_scsi_to_upiu_lun(sdev->lun),
					  UNIT_DESC_PARAM_LU_Q_DEPTH,