Commit 5f8e7f17 authored by Vinayak Kale's avatar Vinayak Kale Committed by Tejun Heo

libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

Enable LBA in taskfile flags for ata_scsi_pass_thru()
Signed-off-by: default avatarVinayak Kale <vinayak.kale@seagate.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent ee7fb331
......@@ -2947,6 +2947,9 @@ static unsigned int ata_scsi_pass_thru(struct ata_queued_cmd *qc)
if ((tf->protocol = ata_scsi_map_proto(cdb[1])) == ATA_PROT_UNKNOWN)
goto invalid_fld;
/* enable LBA */
tf->flags |= ATA_TFLAG_LBA;
/*
* 12 and 16 byte CDBs use different offsets to
* provide the various register values.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment