libata: force disable trim for SuperSSpeed S238
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Jul 2015 11:54:37 +0000 (13:54 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 15 Jul 2015 15:22:35 +0000 (11:22 -0400)
commitcda57b1b05cf7b8b99ab4b732bea0b05b6c015cc
tree276a8e2332d79f14538ca0688f1242a1c7d8104d
parent71d126fd28de2d4d9b7b2088dbccd7ca62fad6e0
libata: force disable trim for SuperSSpeed S238

This device loses blocks, often the partition table area, on trim.
Disable TRIM.
http://pcengines.ch/msata16a.htm

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
drivers/ata/libata-core.c