]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitfe85227347738eb9b871bc163e7fb0db8b6cd2a0
treebbc2e34f62b5d42646711fd1887ec6c613fada77
parentd380443cd0271903bf9516bc04cead81676be034
Revert "mmc: omap_hsmmc: Enable Auto CMD12"

This patch reverts the commit dba3c29ea4a1d5d544.

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