summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-08-29 17:36:58 +0200
committerTejun Heo <tj@kernel.org>2017-08-29 17:36:58 +0200
commit2aca392398384f8a2f339f4c661a1699f4f2e2eb (patch)
tree73b0086097f69c000bcbf353fc10cc6dd47b14d8 /drivers/ata
parentlibata: check for trusted computing in IDENTIFY DEVICE data (diff)
downloadlinux-2aca392398384f8a2f339f4c661a1699f4f2e2eb.tar.xz
linux-2aca392398384f8a2f339f4c661a1699f4f2e2eb.zip
Revert "libata: quirk read log on no-name M.2 SSD"
This reverts commit 35f0b6a779b8b7a98faefd7c1c660b4dac9a5c26. We now conditionalize issuing of READ LOG PAGE on the TRUSTED COMPUTING SUPPORTED bit in the identity data and this shouldn't be necessary. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index ca57b03ab950..1945a8ea2099 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2079,8 +2079,6 @@ unsigned int ata_read_log_page(struct ata_device *dev, u8 log,
*/
if (ap_flags & ATA_FLAG_NO_LOG_PAGE)
return AC_ERR_DEV;
- if (dev->horkage & ATA_HORKAGE_NO_LOG_PAGE)
- return AC_ERR_DEV;
retry:
ata_tf_init(dev, &tf);
@@ -4583,8 +4581,6 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "WDC WD3000JD-*", NULL, ATA_HORKAGE_WD_BROKEN_LPM },
{ "WDC WD3200JD-*", NULL, ATA_HORKAGE_WD_BROKEN_LPM },
-
- { "M.2 (S42) 3ME3", NULL, ATA_HORKAGE_NO_LOG_PAGE },
/* End Marker */
{ }
};