summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-01-09 07:38:25 -0500
committerTejun Heo <tj@kernel.org>2017-01-09 07:38:25 -0500
commit0fe4618d3b22d0ae44a4e650526466cf570ff8a5 (patch)
tree0c692cacd3431642945df7f4163aefca63ede012 /drivers/ata/libata-core.c
parent88af4bbd8f6983378c3098ca3e26c4e48434fe69 (diff)
parent064c3db9c564cc5be514ac21fb4aa26cc33db746 (diff)
downloadop-kernel-dev-0fe4618d3b22d0ae44a4e650526466cf570ff8a5.zip
op-kernel-dev-0fe4618d3b22d0ae44a4e650526466cf570ff8a5.tar.gz
Merge branch 'for-4.10-fixes' into for-4.11
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index dc70b5f..ca75823 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1702,6 +1702,8 @@ unsigned ata_exec_internal_sg(struct ata_device *dev,
if (qc->err_mask & ~AC_ERR_OTHER)
qc->err_mask &= ~AC_ERR_OTHER;
+ } else if (qc->tf.command == ATA_CMD_REQ_SENSE_DATA) {
+ qc->result_tf.command |= ATA_SENSE;
}
/* finish up */
@@ -4356,10 +4358,10 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "ST380013AS", "3.20", ATA_HORKAGE_MAX_SEC_1024 },
/*
- * Device times out with higher max sects.
+ * These devices time out with higher max sects.
* https://bugzilla.kernel.org/show_bug.cgi?id=121671
*/
- { "LITEON CX1-JB256-HP", NULL, ATA_HORKAGE_MAX_SEC_1024 },
+ { "LITEON CX1-JB*-HP", NULL, ATA_HORKAGE_MAX_SEC_1024 },
/* Devices we expect to fail diagnostics */
OpenPOWER on IntegriCloud