OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 18:58:18 +0000 (19:58 +0100)
commit25b13c2f4f4941b60aaaba33a0b18704b9afce05
tree5bd83e39badb7d7556ce45f4434a50de680b68c2
parentea5c2944328c46d17cc67879d6bee964c4de9be2
libata: apply MAX_SEC_1024 to all LITEON EP1 series devices

commit db5ff909798ef0099004ad50a0ff5fde92426fd1 upstream.

LITEON EP1 has the same timeout issues as CX1 series devices.

Revert max_sectors to the value of 1024.

Fixes: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/libata-core.c