Ryuinferno/android_kernel_samsung_t1 — pull request #3 by Ryuinferno (2013-08-24 03:11:51+00:00)
Title: mmc: card: Skip secure erase on MoviNAND; causes unrecoverable corruptio...

...n.

For several MoviNAND eMMC parts, there are known issues with secure
erase and secure trim. For these specific MoviNAND devices, we skip
these operations.

Specifically, there is a bug in the eMMC firmware that causes
unrecoverable corruption when the MMC is erased with MMC_CAP_ERASE
enabled.

References:

http://forum.xda-developers.com/showthread.php?t=1644364
https://plus.google.com/111398485184813224730/posts/21pTYfTsCkB#111398485184813224730/posts/21pTYfTsCkB

Change-Id: I0f92ef489248f78d0f46354e9dcab394a9358c80
Signed-off-by: Ian Chen
Reviewed-by: Namjae Jeon
Acked-by: Jaehoon Chung
Reviewed-by: Linus Walleij
Cc: stable [3.0+]
Signed-off-by: Chris Ball