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:57:08 +0000 (19:57 +0100)
commitd314f3bc7f3d0853e38364c95b1d30fb4e33e989
treeb1524f7637725f04b0cfe72e7d777a5a4501a941
parent8a3f4baaa4c3fa73821c775d684bdc0120ef8e59
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