mmc: block: skip trim for some kingston eMMCs
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 12 Aug 2015 05:08:32 +0000 (13:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:52 +0000 (14:50 +0200)
commitb5b4ff0a633910b2b9dca7915fd6ab17aa10dc3e
treeaf1a8bee55a6f5477572250bbf916aef37a6e049
parente31e67cf2578bd05e99afabb22403542306d6bed
mmc: block: skip trim for some kingston eMMCs

For some mass production of kingston eMMCs which adopt Phison's
firmware will meet an unrecoverable data conrruption occasionally
if performing trim due to a firmware bug confirmed by vendor. We
found it on Intel-C3230RK platform. So we add fixup of broken trim
for it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c
drivers/mmc/core/core.c
include/linux/mmc/card.h