]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mmc: omap_hsmmc: Enable Auto CMD12"
authorMing Lei <ming.lei@canonical.com>
Fri, 22 Jun 2012 10:49:35 +0000 (18:49 +0800)
committerChris Ball <cjb@laptop.org>
Tue, 26 Jun 2012 20:10:30 +0000 (16:10 -0400)
commitb97bf24cd9fda82f813a1cdfdcca8b8e44716a30
treebbc2e34f62b5d42646711fd1887ec6c613fada77
parent8ea9cbb984d9d179eb5c6c98b1326b5201cda71a
Revert "mmc: omap_hsmmc: Enable Auto CMD12"

This patch reverts the commit a733e0475143248d69.

After bisecting, this commit a733e04 is found to ruin micro-SD card data
(writing incorrect file, or fs is corrupt after several times mount)
on the beagle-xm revB, and reverting the commit will fix the problem.

Also from TRM of OMAP3/OMAP4/DM37x, the below is mentioned about
the Auto CMD12 Enable bit.
        - SDIO does not support this feature.
        - SD card only.
Looks it is not suitable to always enable Auto CMD12 in host controller
driver.

Considered that the commit is not mature enough, so ask to revert it
first.

Cc: Balaji T K <balajitk@ti.com>
Cc: Venkatraman S <svenkatr@ti.com>
Buglink: https://lkml.org/lkml/2012/6/10/225
Reported-by: Paolo Pisati <p.pisati@gmail.com>
Reported-bisected-and-tested-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Acked-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c