]> 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)
commit4137f80a9cf17df3af6cecb56595e442cb0667cd
treebbc2e34f62b5d42646711fd1887ec6c613fada77
parent46d8386eff4e4e0c767b63e629bf3fe3c19b665e
Revert "mmc: omap_hsmmc: Enable Auto CMD12"

This patch reverts the commit 92de699d1a82d5cd3d.

After bisecting, this commit 92de699 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