mmc: fixes for eMMC v4.5 sanitize operation
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 5 Apr 2012 11:45:48 +0000 (14:45 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 21 Apr 2012 00:28:58 +0000 (20:28 -0400)
eMMC v4.5 sanitize operation erases all copies of unmapped
data.  However trim or erase operations must be used first
to unmap the required sectors.  That was not being done.

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>

No differences found