Message ID | 1516767755-22855-1-git-send-email-asutoshd@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Asutosh, > /* WRITE_SAME command is not supported*/ > sdev->no_write_same = 1; > > + /* WRITE_SAME command is not supported*/ > + sdev->no_write_same = 1; > + Uhm... I applied this change to 4.16/scsi-fixes by hand.
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 8af2af3..5a8dc3b 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -4356,6 +4356,9 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev) /* WRITE_SAME command is not supported*/ sdev->no_write_same = 1; + /* WRITE_SAME command is not supported*/ + sdev->no_write_same = 1; + ufshcd_set_queue_depth(sdev); ufshcd_get_lu_power_on_wp_status(hba, sdev);