summaryrefslogtreecommitdiffstats
path: root/samples/Makefile
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2012-04-05 14:45:47 +0300
committerChris Ball <cjb@laptop.org>2012-04-20 20:28:55 -0400
commit7194efb8f063ee3aa0cb50d9002348887e68ec10 (patch)
tree0802a06a24a1937858a60ee1596f622efc9f1330 /samples/Makefile
parent3b422e9c2c020a1137349c614da7f9c9761a0922 (diff)
downloadop-kernel-dev-7194efb8f063ee3aa0cb50d9002348887e68ec10.zip
op-kernel-dev-7194efb8f063ee3aa0cb50d9002348887e68ec10.tar.gz
mmc: fixes for eMMC v4.5 discard operation
eMMC v4.5 discard operation is significantly different from the existing trim operation because it is not guaranteed to work with the new sanitize operation. Consequently mmc_can_trim() is separated from mmc_can_discard(). Also the new discard operation does not result in the sectors being set to all-zeros, so discard_zeroes_data must not be set. In addition, the new discard has the same timeout as trim, but from v4.5 trim is defined to use the hc timeout. The timeout calculation is adjusted accordingly. Fixes apply to linux 3.2 on. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: <stable@vger.kernel.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud