]> git.dujemihanovic.xyz Git - linux.git/commitdiff
libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
authorXinyu Lin <xinyu0123@gmail.com>
Sun, 17 Dec 2017 12:13:39 +0000 (20:13 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 19 Dec 2017 13:30:38 +0000 (05:30 -0800)
LITEON EP1 has the same timeout issues as CX1 series devices.

Revert max_sectors to the value of 1024.

'e0edc8c54646 ("libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices")'

Signed-off-by: Xinyu Lin <xinyu0123@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
drivers/ata/libata-core.c

index 8193b38a1cae7a8d738fb4c29828654dd02f0572..3c09122bf03825b6489a16b8f116bd05485aa1b4 100644 (file)
@@ -4449,6 +4449,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
         * https://bugzilla.kernel.org/show_bug.cgi?id=121671
         */
        { "LITEON CX1-JB*-HP",  NULL,           ATA_HORKAGE_MAX_SEC_1024 },
+       { "LITEON EP1-*",       NULL,           ATA_HORKAGE_MAX_SEC_1024 },
 
        /* Devices we expect to fail diagnostics */